)]}'
{
  "commit": "bbc133a3083cebcb9d2e010bef47753448d0046f",
  "tree": "26a101298156a96b7f4af076fd15bdf7d617fdfa",
  "parents": [
    "1a10ac99959e8d28694cb47d0632552e6feb03b2"
  ],
  "author": {
    "name": "Tom Tromey",
    "email": "tromey@adacore.com",
    "time": "Tue Mar 24 08:59:31 2026 -0600"
  },
  "committer": {
    "name": "Tom Tromey",
    "email": "tromey@adacore.com",
    "time": "Wed Mar 25 11:12:14 2026 -0600"
  },
  "message": "Hold the GIL while clearing gdbpy_reggroup_object_map\n\nTom de Vries pointed out that a certain Python test left a core file.\nLooking into this, I think the problem is that the GIL is not held\nwhen gdbpy_reggroup_object_map is destroyed.\n\nThis patch changes the code to explicitly clear the global while\nholding the GIL.  This fixed the crash for me.\n\nThis also adds a comment to gdbpy_initialize_file to explicitly\nmention that the GIL is held while the finalizers are run.\n\nBug: https://sourceware.org/bugzilla/show_bug.cgi?id\u003d34013\nReviewed-By: Tom de Vries \u003ctdevries@suse.de\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "44bc53e6a9d6ef2cabf401995b3247d27a4f5548",
      "old_mode": 33188,
      "old_path": "gdb/python/py-registers.c",
      "new_id": "c6e0748e935d04b50437a6c826c52c7678d6fcef",
      "new_mode": 33188,
      "new_path": "gdb/python/py-registers.c"
    },
    {
      "type": "modify",
      "old_id": "bdc960ed20864545d8e9990245766473a08fa74f",
      "old_mode": 33188,
      "old_path": "gdb/python/python-internal.h",
      "new_id": "b24b9314994b0cbfd027348825a5350c125a334f",
      "new_mode": 33188,
      "new_path": "gdb/python/python-internal.h"
    }
  ]
}
