)]}'
{
  "commit": "9ed6d7410c800c331d1f24051c85e4e52d7dfced",
  "tree": "5512050698e901966e35ee4e7d813d93d46db918",
  "parents": [
    "3672e3262210d1a08a3fdc44569ea8b5696c43cc"
  ],
  "author": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Fri Mar 24 15:45:56 2023 +0100"
  },
  "committer": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Fri Mar 24 15:45:56 2023 +0100"
  },
  "message": "[gdb/symtab] Fix line number of static const class member\n\nSince commit 6d263fe46e0 (\"Avoid bad breakpoints with --gc-sections\"), there\nwas a silent regression on openSUSE Leap 15.4 for test-case\ngdb.cp/m-static.exp, from:\n...\n(gdb) info variable everywhere^M\nAll variables matching regular expression \"everywhere\":^M\n^M\nFile /home/vries/tmp.local-remote-host-native/m-static.h:^M\n8:      const int gnu_obj_4::everywhere;^M\n(gdb)\n...\nto:\n...\n(gdb) info variable everywhere^M\nAll variables matching regular expression \"everywhere\":^M\n^M\nFile /data/vries/gdb/src/gdb/testsuite/gdb.cp/m-static.h:^M\n8:      const int gnu_obj_4::everywhere;^M\n^M\nFile /data/vries/gdb/src/gdb/testsuite/gdb.cp/m-static1.cc:^M\n8:      const int gnu_obj_4::everywhere;^M\n(gdb)\n...\n\nAnother regression was found due to that commit, and it was fixed in commit\n99d679e7b30 (\"[gdb/symtab] Fix \"file index out of range\" complaint\") by\nlimiting the scope of the fix in the original commit.\n\nFix this regression by yet further limiting the scope of that fix, making sure\nthat this bit in dwarf_decode_lines is executed again for m-static1.cc:\n...\n  /* Make sure a symtab is created for every file, even files\n     which contain only variables (i.e. no code with associated\n     line numbers).  */\n...\n\nTested on x86_64-linux.\n\nPR symtab/30265\nBug: https://sourceware.org/bugzilla/show_bug.cgi?id\u003d30265\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c9208a097bff73a213dadf5ac1ee1f6a5d94a24a",
      "old_mode": 33188,
      "old_path": "gdb/dwarf2/read.c",
      "new_id": "c910be875a35ea95026c7ecdbfa7dde6764b66e8",
      "new_mode": 33188,
      "new_path": "gdb/dwarf2/read.c"
    },
    {
      "type": "modify",
      "old_id": "37d3289a751f5f69a91fffd13a8c13850bdc44af",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.cp/m-static.exp",
      "new_id": "a78baa9e8952acc54e1b98a035b5689c7f11b477",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.cp/m-static.exp"
    }
  ]
}
