)]}'
{
  "commit": "6d263fe46e00afd8af3d609c1afd71d05eaf745e",
  "tree": "d671b8e628da5ec3db2c8641dcf18ae6c3843961",
  "parents": [
    "dd8a5a84a746df2c9db53f5ac331d2c9b34422b2"
  ],
  "author": {
    "name": "Tom Tromey",
    "email": "tromey@adacore.com",
    "time": "Thu Jan 13 09:48:18 2022 -0700"
  },
  "committer": {
    "name": "Tom Tromey",
    "email": "tromey@adacore.com",
    "time": "Thu Jan 20 07:22:23 2022 -0700"
  },
  "message": "Avoid bad breakpoints with --gc-sections\n\nWe found a case where --gc-sections can cause gdb to set an invalid\nbreakpoint.  In the included test case, gdb will set a breakpoint with\ntwo locations, one of which is 0x0.\n\nThe code in lnp_state_machine::check_line_address is intended to\nfilter out this sort of problem, but in this case, the entire CU is\nempty, causing unrelocated_lowpc\u003d\u003d0x0 -- which circumvents the check.\n\nIt seems to me that if a CU is empty like this, then it is ok to\nsimply ignore the line table, as there won\u0027t be any locations anyway.\n\n\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3fe6c3ab90cf7585cd3fe35dbafe66a712560c9a",
      "old_mode": 33188,
      "old_path": "gdb/dwarf2/read.c",
      "new_id": "f7cb95b40cba39e1d3632ec2a1e4ed05c3359aa9",
      "new_mode": 33188,
      "new_path": "gdb/dwarf2/read.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "1f6ef667a87f55c4aa77f25a2fb6d7c1e0b4d17b",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.ada/inline-section-gc.exp"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "9ece3cdc20a3eff6e07404a4400c3e5b487b8cfa",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.ada/inline-section-gc/callee.adb"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "e13168d5fb5b0225dfdd749b6935f00f1c52e652",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.ada/inline-section-gc/callee.ads"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "170227258c4f9b14960723bf54334885af04aaac",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.ada/inline-section-gc/caller.adb"
    }
  ]
}
