)]}'
{
  "commit": "22143ca474bb7154a5c9b4aa20a3aba256c0137a",
  "tree": "df10e1c1269d20862ea56dc04f9b435bf7de841d",
  "parents": [
    "ab20bdf8efc3e8607e6aa68464901bb109b544db"
  ],
  "author": {
    "name": "Pedro Alves",
    "email": "pedro@palves.net",
    "time": "Wed May 20 11:22:56 2026 +0100"
  },
  "committer": {
    "name": "Pedro Alves",
    "email": "pedro@palves.net",
    "time": "Fri Jun 12 14:57:21 2026 +0100"
  },
  "message": "Adjust gdb.python/py-events.exp for Cygwin/MinGW, no fork\n\nThe gdb.python/py-events.exp testcase currently uses fork, and relies\non \"set detach-on-fork off\".\n\nCygwin does support the fork syscall, but GDB can\u0027t follow forks\nthere, so \"detach-on-fork off\" has no effect.  And also, there is no\nfork on native Windows, which makes the testcase unusable on MinGW\ncurrently.\n\nI don\u0027t see any reason the testcase needs to use fork or multiple\ninferiors.  We can replace what those parts were testing by more\nfocused tests:\n\n - The clear_objfiles event was tested via following a fork.  Instead,\n   test a more directed \"file\" command.\n\n - Two-inferior quit was being used to test that gdb.ExitedEvent has\n   no \"exit_code\".  Quitting while an inferior is being debugged makes\n   GDB kill the inferior.  What\u0027s really being tested is the kill\n   path, so write an explicit (single-inferior) kill test.\n\nTested on x86_64-unknown-linux-gnu.\n\nChange-Id: I21ee8af7b52653c6fdff9b4c1596cdde3cfe751a\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b1910f75ed9756809371af4a2d07a10d27c928df",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.python/py-events.c",
      "new_id": "6a0b407042ab998af97a855cd2c2a4313ca193ff",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.python/py-events.c"
    },
    {
      "type": "modify",
      "old_id": "b07eb2ec9b010f49ae375ee91bdb22804216cfab",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.python/py-events.exp",
      "new_id": "a34a423c014e6517ff6e9440e34ea600c298e5db",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.python/py-events.exp"
    }
  ]
}
