)]}'
{
  "commit": "6533cbeeb831224e2d2dd2a7bea54b22b798fa39",
  "tree": "1485eb862e28283864b7d78cf42137d8b9444989",
  "parents": [
    "9c48a8e6f43965b8d530159e5dbb2fc9d6083646"
  ],
  "author": {
    "name": "Johnson Sun",
    "email": "j3.soon777@gmail.com",
    "time": "Fri Oct 21 01:49:18 2022 +0800"
  },
  "committer": {
    "name": "Simon Marchi",
    "email": "simon.marchi@polymtl.ca",
    "time": "Fri Nov 18 10:50:45 2022 -0500"
  },
  "message": "Fix deletion of FinishBreakpoints\n\nCurrently, FinishBreakpoints are set at the return address of a frame based on\nthe `finish\u0027 command, and are meant to be temporary breakpoints. However, they\nare not being cleaned up after use, as reported in PR python/18655. This was\nhappening because the disposition of the breakpoint was not being set\ncorrectly.\n\nThis commit fixes this issue by correctly setting the disposition in the\npost-stop hook of the breakpoint. It also adds a test to ensure this feature\nisn\u0027t regressed in the future.\n\nBug: https://sourceware.org/bugzilla/show_bug.cgi?id\u003d18655\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "fdbff5cf6bf24cf7a210c14815fc324c52aab0cb",
      "old_mode": 33188,
      "old_path": "gdb/python/py-finishbreakpoint.c",
      "new_id": "526657580ceb8a0ebad94da2156d91f18687d2c7",
      "new_mode": 33188,
      "new_path": "gdb/python/py-finishbreakpoint.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "b6e715133733df807c0f998a76b4091bf4fbd9fa",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.python/py-finish-breakpoint-deletion.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "cd882cee91d04fb6412231b5d0ce0e6a0f2e9a42",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.python/py-finish-breakpoint-deletion.exp"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "ab05b0c35a3bd3127c2962b994ca2697f1c436cb",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.python/py-finish-breakpoint-deletion.py"
    }
  ]
}
