)]}'
{
  "commit": "5ae5974d60378fa3faecff64725e00c8695bcc7d",
  "tree": "8b78e488803dfc72e650ec3bab61e030fcf069bb",
  "parents": [
    "a6e529673a95670a9c3046c3681fe6864b2cd05c"
  ],
  "author": {
    "name": "Hannes Domani",
    "email": "ssbssa@yahoo.de",
    "time": "Mon Jun 24 18:45:37 2024 +0200"
  },
  "committer": {
    "name": "Hannes Domani",
    "email": "ssbssa@yahoo.de",
    "time": "Mon Jun 24 18:45:37 2024 +0200"
  },
  "message": "Fix gdb.lookup_type for function-local types\n\nLooking for a type defined locally in a function doesn\u0027t work\nany more since the introduction of TYPE_DOMAIN:\n```\n(gdb) python print (gdb.lookup_type (\u0027main()::Local\u0027))\nPython Exception \u003cclass \u0027gdb.error\u0027\u003e: No type named main()::Local.\nError occurred in Python: No type named main()::Local.\n```\n\ncp_search_static_and_baseclasses was simply missing a check for\nSEARCH_TYPE_DOMAIN, now it works again:\n```\n(gdb) python print (gdb.lookup_type (\u0027main()::Local\u0027))\nLocal\n```\n\nBug: https://sourceware.org/bugzilla/show_bug.cgi?id\u003d31922\nApproved-By: Tom Tromey \u003ctom@tromey.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "89c1bbd9a59db82d6d6a11aad255dd4fac11c7f8",
      "old_mode": 33188,
      "old_path": "gdb/cp-namespace.c",
      "new_id": "9d86fe2722863e6dccc197b2dff4f3ba1d0852b1",
      "new_mode": 33188,
      "new_path": "gdb/cp-namespace.c"
    },
    {
      "type": "modify",
      "old_id": "bedabc68758c49917b3dc14d2665d893bd039a1d",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.python/py-type.c",
      "new_id": "7a0df8ad80b06c06d8253fc9860bf15a8de3ced8",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.python/py-type.c"
    },
    {
      "type": "modify",
      "old_id": "74e123441c4509c9e24a02c70d4f7292e2e6cd12",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.python/py-type.exp",
      "new_id": "e524959e3a0140122773652fdc24636bee2f0a7e",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.python/py-type.exp"
    }
  ]
}
