)]}'
{
  "commit": "34fc62a27e1d8827aa2e64610f4e4b03e5825fc3",
  "tree": "4d8c44ad8d158294b39792f925104ecebc8f0185",
  "parents": [
    "494df64ba986dbe6237ea51f4b5bd367e6d94881"
  ],
  "author": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Wed Apr 22 23:29:09 2026 +0200"
  },
  "committer": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Wed Apr 22 23:29:09 2026 +0200"
  },
  "message": "[gdb/symtab] Factor out new_symbol_file_line\n\nI was looking at a patch [1] modifying the DW_AT_decl_file / DW_AT_call_file\nhandling of new_symbol, and noticed that:\n- the code is fairly nested, and\n- the patch adds another nesting layer.\n\nFactor out function new_symbol_file_line out of new_symbol, handling both the\nDW_AT_decl_file / DW_AT_call_file and DW_AT_call_line / DW_AT_decl_line\nattributes.\n\nHaving factored out the code, simplify it using return, and modernize it using\nbool and nullptr.\n\nApproved-By: Tom Tromey \u003ctom@tromey.com\u003e\n\n[1] https://sourceware.org/pipermail/gdb-patches/2026-March/226065.html\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "375e8a75db49bfc7e465316e6888f138e0444ef0",
      "old_mode": 33188,
      "old_path": "gdb/dwarf2/read.c",
      "new_id": "bc7b8b46d8778a8d63d991be493597cb287b2fc9",
      "new_mode": 33188,
      "new_path": "gdb/dwarf2/read.c"
    }
  ]
}
