)]}'
{
  "commit": "f74bd9bcabce02de70169ea441d0ab6b8a2e2451",
  "tree": "be765196f1350cb6dfb8abd05df1a7551b734fb6",
  "parents": [
    "43fe7696b89334b711040df916407489d50ac132"
  ],
  "author": {
    "name": "Pedro Alves",
    "email": "pedro@palves.net",
    "time": "Thu Jun 01 16:19:03 2023 +0100"
  },
  "committer": {
    "name": "Pedro Alves",
    "email": "pedro@palves.net",
    "time": "Wed Jun 11 15:03:25 2025 +0100"
  },
  "message": "gdb testsuite: Introduce allow_fork_tests and use it throughout\n\nCygwin debugging does not support follow fork.  There is currently no\ninterface between the debugger and the Cygwin runtime to be able to\nintercept forks and execs.  Consequently, testcases that try to\nexercise fork/exec all FAIL, and several hit long cascading timeouts.\n\nAdd a new allow_fork_tests procedure, meant to be used with require,\nand sprinkle it throughout testcases that exercise fork.\n\nNote that some tests currently are skipped on targets other than\nLinux, with something like:\n\n # Until \"set follow-fork-mode\" and \"catch vfork\" are implemented on\n # other targets...\n #\n if {![istarget \"*-linux*\"]} {\n     continue\n }\n\nHowever, some BSD ports also support fork debugging nowadays, and the\ntestcases were never adjusted...  That is why the new allow_fork_tests\nprocedure doesn\u0027t look for linux.\n\nWith this patch, on Cygwin, I get this:\n\n $ make check TESTS\u003d\"*/*fork*.exp\"\n\n ...\n\t\t \u003d\u003d\u003d gdb Summary \u003d\u003d\u003d\n\n # of expected passes            6\n # of untested testcases         1\n # of unsupported tests          31\n\nReviewed-By: Keith Seitz \u003ckeiths@redhat.com\u003e\nChange-Id: I0c5e8c574d1f61b28d370c22a0b0b6bc3efaf978\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0fd853b90857226c33ccc9e9c9780277960bc925",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.base/catch-fork-kill.exp",
      "new_id": "224a8dfec89a7daf2ff22c260a095f3d032e1b38",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.base/catch-fork-kill.exp"
    },
    {
      "type": "modify",
      "old_id": "b171a6dbdd2737b89d4305a52639e2af14e4dfac",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.base/catch-fork-static.exp",
      "new_id": "9d50d5dc4284fbfe66c2958b580d6b9c19561f4d",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.base/catch-fork-static.exp"
    },
    {
      "type": "modify",
      "old_id": "dea0cc48f758330e24e86ba51b04392f67bbdc3a",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.base/catch-signal-fork.exp",
      "new_id": "2a33ee19f60e4fe7438f6f7fbb6c23c7ab55e04f",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.base/catch-signal-fork.exp"
    },
    {
      "type": "modify",
      "old_id": "4aee683c8d180c177a9147bf2e8c1e8e821697bf",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.base/foll-fork-syscall.exp",
      "new_id": "21ef3347dc111d1207c123729758868d533e4bff",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.base/foll-fork-syscall.exp"
    },
    {
      "type": "modify",
      "old_id": "94755c61186afed6593dbf199afb611c2297d6cd",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.base/foll-fork.exp",
      "new_id": "12db516d58af090211486f45081eaaf316792743",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.base/foll-fork.exp"
    },
    {
      "type": "modify",
      "old_id": "266df46a188e4eae9ec095b06b65976364d413e0",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.base/foll-vfork.exp",
      "new_id": "6ca7711fe8113a775796c389efa23f097ab71145",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.base/foll-vfork.exp"
    },
    {
      "type": "modify",
      "old_id": "311d7ba62deec6d11d1cf00337c067cb98466bae",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.base/fork-no-detach-follow-child-dlopen.exp",
      "new_id": "2d47d5d2c203d7eb96ae7340e712d57a503adf90",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.base/fork-no-detach-follow-child-dlopen.exp"
    },
    {
      "type": "modify",
      "old_id": "26ed2f9765dc2b8de2b1795474bf8db54b149eb4",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.base/fork-print-inferior-events.exp",
      "new_id": "19ace001b08668138f156cb87bb23f2cf9190640",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.base/fork-print-inferior-events.exp"
    },
    {
      "type": "modify",
      "old_id": "4b810a65648b9c5dcf6537d42faf78c4b3d7b884",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.base/fork-running-state.exp",
      "new_id": "c446800b885fe11eb395838c80baeffcaeea6be6",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.base/fork-running-state.exp"
    },
    {
      "type": "modify",
      "old_id": "3992561d64ef248f3ab6dc0f6253c523352784af",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.base/inferior-died.exp",
      "new_id": "764a88da8c2882084b8868b7407fadb6fa80ada2",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.base/inferior-died.exp"
    },
    {
      "type": "modify",
      "old_id": "161f854ed365e62cd1cbb48bea5bec3975479678",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.base/interrupt-daemon.exp",
      "new_id": "8b8c61d6fc9fe4a1747edc1366a6220595a7f96a",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.base/interrupt-daemon.exp"
    },
    {
      "type": "modify",
      "old_id": "81d335024490d8af529ff1ff7001554cec485919",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.base/jit-elf-fork.exp",
      "new_id": "c1fa42833625fdd3e1f5a803f26803290a2fab84",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.base/jit-elf-fork.exp"
    },
    {
      "type": "modify",
      "old_id": "61a240f6cc00fedf69ca9137cef5d371c71e22d4",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.base/multi-forks.exp",
      "new_id": "3facccb6315c08ccc27daaeebc40967a8f04355c",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.base/multi-forks.exp"
    },
    {
      "type": "modify",
      "old_id": "48c01d9885e078f0d5be32316927a2e9c626910c",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.base/pie-fork.exp",
      "new_id": "86407b4adad3fee641003f9f1df06a3a86a96e0a",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.base/pie-fork.exp"
    },
    {
      "type": "modify",
      "old_id": "2370f973622496d9b0ef71a4210d339efde05063",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.base/step-over-exit.exp",
      "new_id": "6dfa7bbb2194645dea622e3fc9dca9206877ff10",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.base/step-over-exit.exp"
    },
    {
      "type": "modify",
      "old_id": "fca2993bf0819d935be10a256e2c048f2e98e2ce",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.base/vfork-follow-parent.exp",
      "new_id": "8cb785d6c828f39cd197bbf7a368fc0c92fa4fc8",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.base/vfork-follow-parent.exp"
    },
    {
      "type": "modify",
      "old_id": "074cfbd43664a0ee1438ad481eae666486874df1",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.base/watch-before-fork.exp",
      "new_id": "509561ea7f4a4d10c30b8ee2a53606618fc8ad69",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.base/watch-before-fork.exp"
    },
    {
      "type": "modify",
      "old_id": "1bc61bcd19725970255c263d08440c30163391da",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.base/watch-vfork.exp",
      "new_id": "503727dbbae3601f1b36145f34c69fc3b1090496",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.base/watch-vfork.exp"
    },
    {
      "type": "modify",
      "old_id": "70c3da93d4a3e84f4bbcad6204fd7f855ac2dc77",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.multi/watchpoint-multi-exit.exp",
      "new_id": "3446296e3fb47741aad70c980326f740055c631d",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.multi/watchpoint-multi-exit.exp"
    },
    {
      "type": "modify",
      "old_id": "7588525081c7a6a88d68308b1a99e1cf8da3a142",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.rocm/fork-exec-gpu-to-non-gpu.exp",
      "new_id": "22d4b75caa0474d4af1460281c4b6178a387846b",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.rocm/fork-exec-gpu-to-non-gpu.exp"
    },
    {
      "type": "modify",
      "old_id": "a6bcf69aa3e3e16507c045330a073b88471dddfb",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.rocm/fork-exec-non-gpu-to-gpu.exp",
      "new_id": "13860993bdea32811fd810d319e854c9ca3836f1",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.rocm/fork-exec-non-gpu-to-gpu.exp"
    },
    {
      "type": "modify",
      "old_id": "d326c2ec55b7007d30fadcd23edf21bbe618191d",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.rocm/precise-memory-fork.exp",
      "new_id": "23c1ebe6249f3a104d9a9f6aebe4d403d28a7b05",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.rocm/precise-memory-fork.exp"
    },
    {
      "type": "modify",
      "old_id": "52459886a7ad658a39da766011f6461070ec5b5d",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.threads/foll-fork-other-thread.exp",
      "new_id": "8ab540c98c4b4e72ee15e3f52f0e21698d640709",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.threads/foll-fork-other-thread.exp"
    },
    {
      "type": "modify",
      "old_id": "abe9769b2de60d1c26f5f56ad61003b3ef7ab0cb",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.threads/fork-child-threads.exp",
      "new_id": "ba9dfc241f6c9f0a2f2609ecc57d1433dffb2777",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.threads/fork-child-threads.exp"
    },
    {
      "type": "modify",
      "old_id": "3a5e66adada76f9a9667a0986e23d99733e83580",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.threads/fork-plus-threads.exp",
      "new_id": "4ce88d33293bcca1f81037822df4af42ce6febb1",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.threads/fork-plus-threads.exp"
    },
    {
      "type": "modify",
      "old_id": "d0a1ca182a3b193be76d1421e8a87693eb05f5bf",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.threads/fork-thread-pending.exp",
      "new_id": "538e1ca6f3fbd077714ab43825caf40d8db9ed19",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.threads/fork-thread-pending.exp"
    },
    {
      "type": "modify",
      "old_id": "1f768983a453a8728f5676cbf1c9e6b4f819b809",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.threads/forking-threads-plus-breakpoint.exp",
      "new_id": "c668a6555226f983dabf88bfaf36c8bec9e0cc56",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.threads/forking-threads-plus-breakpoint.exp"
    },
    {
      "type": "modify",
      "old_id": "bd814382626f9915809ddfc2355070ead1bda6f6",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.threads/next-fork-exec-other-thread.exp",
      "new_id": "3a971274784253c13f37c83da97ec284266709bf",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.threads/next-fork-exec-other-thread.exp"
    },
    {
      "type": "modify",
      "old_id": "183fda6dd6e6fdf68e286c4e7689adab1c096ba2",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.threads/next-fork-other-thread.exp",
      "new_id": "1cd6685215c4d14a7ef353d3c458782129374169",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.threads/next-fork-other-thread.exp"
    },
    {
      "type": "modify",
      "old_id": "e6e311eee0009b9c24209709c97de28424939cf5",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.threads/pending-fork-event-detach-ns.exp",
      "new_id": "29a011e1a7ddfd68015b0054917e3b3d61a5c774",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.threads/pending-fork-event-detach-ns.exp"
    },
    {
      "type": "modify",
      "old_id": "8e77ab0ca7c03080f275cdb87dffda41041a9a6d",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.threads/pending-fork-event-detach.exp",
      "new_id": "e627241caed46fb902663f609b60e516e252dfdd",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.threads/pending-fork-event-detach.exp"
    },
    {
      "type": "modify",
      "old_id": "e23db0a616bbdfeadaf7450d115c011f987ee9ee",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.threads/vfork-follow-child-exec.exp",
      "new_id": "0b95a75c132647d3b32ee7f6672cd03f05c7a01b",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.threads/vfork-follow-child-exec.exp"
    },
    {
      "type": "modify",
      "old_id": "a6b7f49627688a81eadc83911a4bf64b163031cf",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.threads/vfork-follow-child-exit.exp",
      "new_id": "ced52dfa964643fdd48b915644a6929badd71447",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.threads/vfork-follow-child-exit.exp"
    },
    {
      "type": "modify",
      "old_id": "fd081b3764e8a52accaaebc2df45f258c36feff2",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.threads/vfork-multi-inferior.exp",
      "new_id": "d552039a400cf41e8d55250e23544233a0579821",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.threads/vfork-multi-inferior.exp"
    },
    {
      "type": "modify",
      "old_id": "2b9294d894f83393ac6af59152ad40ec12609972",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.threads/vfork-multi-thread.exp",
      "new_id": "61811aed7250572da2aeb38eb00ff6de9377382b",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.threads/vfork-multi-thread.exp"
    },
    {
      "type": "modify",
      "old_id": "376ca2ab54b0713fabc92f7356cef588d2714fc6",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.threads/watchpoint-fork.exp",
      "new_id": "8e9b1c33c9bc9eea14e028f054427d7eae849fa0",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.threads/watchpoint-fork.exp"
    },
    {
      "type": "modify",
      "old_id": "5cc7e11287b244b49b959fe015154a8344347d30",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/lib/gdb.exp",
      "new_id": "669068536e9b8056e0d646d690736565e6740204",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/lib/gdb.exp"
    }
  ]
}
