)]}'
{
  "commit": "ca10a126c67f03e4e56dbbb6966c1682014912d8",
  "tree": "d4a5db921379fc31cb7aa9e12262fa7b3caf88c7",
  "parents": [
    "80e0c6dc91f52fad32c3ff3cf20da889d77013ac"
  ],
  "author": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Thu Oct 06 14:53:07 2022 +0200"
  },
  "committer": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Thu Oct 06 14:53:07 2022 +0200"
  },
  "message": "[gdb/symtab] Factor out have_complaint\n\nAfter committing 8ba677d3560 (\"[gdb/symtab] Don\u0027t complain about function\ndecls\") I noticed that quite a bit of code in read_func_scope is used to decide\nwhether to issue the \"cannot get low and high bounds for subprogram DIE at\n$hex\" complaint, which executes unnecessarily if we have the default\n\"set complaints 0\".\n\nFix this by (NFC):\n- factoring out new static function have_complaint from macro complaint, and\n- using it to wrap the relevant code in read_func_scope.\n\nTested on x86_64-linux.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "68c79bd6d0a1f99994805b976bca082d6ad1db88",
      "old_mode": 33188,
      "old_path": "gdb/complaints.h",
      "new_id": "02c8c2c558be6a9de966deb41529074a28322ae3",
      "new_mode": 33188,
      "new_path": "gdb/complaints.h"
    },
    {
      "type": "modify",
      "old_id": "8e42c0f4d8df0615e079ce973c1392e608312488",
      "old_mode": 33188,
      "old_path": "gdb/dwarf2/read.c",
      "new_id": "78f4cc1f60d9dd197cbc1e58e15011ec32b60061",
      "new_mode": 33188,
      "new_path": "gdb/dwarf2/read.c"
    }
  ]
}
