)]}'
{
  "commit": "aa24bf2c05f80eb106189d55469cd393f752fa92",
  "tree": "d04ed14187d1ccc6147d0fe08a73f31e8cf49d83",
  "parents": [
    "aab26529b304aed62095e47248a6b5e1c7590fdc"
  ],
  "author": {
    "name": "Tom Tromey",
    "email": "tromey@adacore.com",
    "time": "Fri Sep 06 14:38:44 2024 -0600"
  },
  "committer": {
    "name": "Tom Tromey",
    "email": "tromey@adacore.com",
    "time": "Thu Mar 06 14:17:18 2025 -0700"
  },
  "message": "Add support for hierarchical Ada names\n\nIn the near future, GNAT will start emitting DWARF names in a more\nstandard way -- specifically, the package structure will be indicated\nby nested DW_TAG_module DIEs and a given entity will be nested in its\npackage and only have a simple name.\n\nThis patch changes gdb to understand this style of naming, while still\nsupporting the existing GNAT output.\n\nA few special cases are needed.  I\u0027ve commented them.\n\nThe name-computing code for the full DWARF reader is very complicated\n-- much too complicated, in my opinion.  There are already several\nbugs in bugzilla about this (search for \"physname\"... but there are\nothers as well), so I haven\u0027t filed any new ones.\n\nWhen I started this project, I thought it would solve some memory\noveruse issues we sometimes see from how the index-sharding code\ninteracts with the GNAT-specific post-pass.  However, to my surprise,\nthe Ada code in gdb relies on some details of symbol naming, and so\nI\u0027ve had to add code here to synthesize \"linkage\" names in some cases.\nThis is unfortunate, but I think can eventually be fixed; I will file\na bug to track this issue.\n\n\n\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2ffa831f2b6cc7c95de3ac2f9d30c1c25d0f19c7",
      "old_mode": 33188,
      "old_path": "gdb/dwarf2/cooked-index.c",
      "new_id": "6612585649f3a853a4ed64b8f35726a296fa0f3c",
      "new_mode": 33188,
      "new_path": "gdb/dwarf2/cooked-index.c"
    },
    {
      "type": "modify",
      "old_id": "962d51ecc26971d5ba09ef91d26637fe89de0372",
      "old_mode": 33188,
      "old_path": "gdb/dwarf2/read.c",
      "new_id": "a6f2f5e3180d0d51246c28835d44362aeeb6aadf",
      "new_mode": 33188,
      "new_path": "gdb/dwarf2/read.c"
    }
  ]
}
