)]}'
{
  "commit": "46bdb641642d20307521f5db2e1f1c7dcc49d5a7",
  "tree": "b110f2297893f23939972947289584d8081610be",
  "parents": [
    "8f42049a8230baf871ccb66b4e607bd2ebcd99ab"
  ],
  "author": {
    "name": "Tom Tromey",
    "email": "tromey@adacore.com",
    "time": "Wed Jan 10 12:51:10 2024 -0700"
  },
  "committer": {
    "name": "Tom Tromey",
    "email": "tromey@adacore.com",
    "time": "Mon Jan 22 08:54:27 2024 -0700"
  },
  "message": "Handle EOF more gracefully in DAP\n\nA user pointed out that gdb will print a Python exception when it gets\nan EOF in DAP mode.  And, it turns out that an EOF like this also\ncauses gdb not to exit.  This is due to the refactoring that moved the\nJSON reader to its own thread -- previously this caused an exception\nto propagate and cause an exit, but now it just leaves the reader\nhung.\n\nThis patch fixes these problems by arranging to handle EOF more\ngracefully.\n\nBug: https://sourceware.org/bugzilla/show_bug.cgi?id\u003d31217\n\n\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "611f0c2ad0951180eabd5738d97dc9b7dc16848f",
      "old_mode": 33188,
      "old_path": "gdb/python/lib/gdb/dap/io.py",
      "new_id": "5149edae9770af2e7812d8143e55c1e0453fc1e2",
      "new_mode": 33188,
      "new_path": "gdb/python/lib/gdb/dap/io.py"
    },
    {
      "type": "modify",
      "old_id": "e96c79dc736c9cfec4fc595781b7bced87b5d85a",
      "old_mode": 33188,
      "old_path": "gdb/python/lib/gdb/dap/server.py",
      "new_id": "7cc5a4681ee0cc2b46df42eda649973fe4480826",
      "new_mode": 33188,
      "new_path": "gdb/python/lib/gdb/dap/server.py"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "139c17ad3354212e5acac1430e5db3c7723aa2a7",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.dap/eof.exp"
    },
    {
      "type": "modify",
      "old_id": "a0c6051cdc7f6a1ce937863a653a941ef97e7f92",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/lib/dap-support.exp",
      "new_id": "0bb413e40373c9a17766c420b8b40affc43b395d",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/lib/dap-support.exp"
    }
  ]
}
