)]}'
{
  "commit": "14ae285f344fe76aff1d0da8366cd54599aea730",
  "tree": "a122d9d6c5d365fe9711de90581f0cbf1356c368",
  "parents": [
    "ea118ff5b18763c3f9b3033e2c74b0d3eac4245b"
  ],
  "author": {
    "name": "Philippe Waroquiers",
    "email": "philippe.waroquiers@skynet.be",
    "time": "Sat Nov 26 12:43:58 2022 +0100"
  },
  "committer": {
    "name": "Philippe Waroquiers",
    "email": "philippe.waroquiers@skynet.be",
    "time": "Sat Nov 26 12:43:58 2022 +0100"
  },
  "message": "Fix jump on uninit producer_is_clang bit of cu.h dwarf2_cu struct.\n\nValgrind reports a \"jump on unitialised bit error\" when running\n    e.g. gdb.base/macro-source-path.exp (see details below).\n\n    Fix this by initializing producer_is_clang member variable of dwarf2_cu.\n\n    Tested on amd64/debian11 and re-running gdb.base/macro-source-path.exp\n    under valgrind.\n\n    \u003d\u003d2140965\u003d\u003d Conditional jump or move depends on uninitialised value(s)\n    \u003d\u003d2140965\u003d\u003d    at 0x5211F7: dwarf_decode_macro_bytes(dwarf2_per_objfile*, buildsym_compunit*, bfd*, unsigned char const*, unsigned char const*, macro_source_file*, line_header const*, dwarf2_section_info const*, int, int, unsigned int, dwarf2_section_info*, dwarf2_section_info*, gdb::optional\u003cunsigned long\u003e, htab*, dwarf2_cu*) (macro.c:676)\n    \u003d\u003d2140965\u003d\u003d    by 0x52158A: dwarf_decode_macros(dwarf2_per_objfile*, buildsym_compunit*, dwarf2_section_info const*, line_header const*, unsigned int, unsigned int, dwarf2_section_info*, dwarf2_section_info*, gdb::optional\u003cunsigned long\u003e, int, dwarf2_cu*) (macro.c:967)\n    \u003d\u003d2140965\u003d\u003d    by 0x523BC4: dwarf_decode_macros(dwarf2_cu*, unsigned int, int) (read.c:23379)\n    \u003d\u003d2140965\u003d\u003d    by 0x552AB5: read_file_scope(die_info*, dwarf2_cu*) (read.c:9687)\n    \u003d\u003d2140965\u003d\u003d    by 0x54F7B2: process_die(die_info*, dwarf2_cu*) (read.c:8660)\n    \u003d\u003d2140965\u003d\u003d    by 0x5569C7: process_full_comp_unit (read.c:8429)\n    \u003d\u003d2140965\u003d\u003d    by 0x5569C7: process_queue (read.c:7675)\n    \u003d\u003d2140965\u003d\u003d    by 0x5569C7: dw2_do_instantiate_symtab (read.c:2063)\n    \u003d\u003d2140965\u003d\u003d    by 0x5569C7: dw2_instantiate_symtab(dwarf2_per_cu_data*, dwarf2_per_objfile*, bool) (read.c:2085)\n    \u003d\u003d2140965\u003d\u003d    by 0x55700B: dw2_expand_symtabs_matching_one(dwarf2_per_cu_data*, dwarf2_per_objfile*, gdb::function_view\u003cbool (char const*, bool)\u003e, gdb::function_view\u003cbool (compunit_symtab*)\u003e) (read.c:3984)\n    \u003d\u003d2140965\u003d\u003d    by 0x557EA3: cooked_index_functions::expand_symtabs_matching(objfile*, gdb::function_view\u003cbool (char const*, bool)\u003e, lookup_name_info const*, gdb::function_view\u003cbool (char const*)\u003e, gdb::function_view\u003cbool (compunit_symtab*)\u003e, enum_flags\u003cblock_search_flag_values\u003e, domain_enum, search_domain) (read.c:18781)\n    \u003d\u003d2140965\u003d\u003d    by 0x778977: objfile::lookup_symbol(block_enum, char const*, domain_enum) (symfile-debug.c:276)\n    ....\n    \u003d\u003d2140965\u003d\u003d  Uninitialised value was created by a heap allocation\n    \u003d\u003d2140965\u003d\u003d    at 0x4839F01: operator new(unsigned long) (vg_replace_malloc.c:434)\n    \u003d\u003d2140965\u003d\u003d    by 0x533A64: cutu_reader::cutu_reader(dwarf2_per_cu_data*, dwarf2_per_objfile*, abbrev_table*, dwarf2_cu*, bool, abbrev_cache*) (read.c:6264)\n    \u003d\u003d2140965\u003d\u003d    by 0x5340C2: load_full_comp_unit(dwarf2_per_cu_data*, dwarf2_per_objfile*, dwarf2_cu*, bool, language) (read.c:7729)\n    \u003d\u003d2140965\u003d\u003d    by 0x548338: load_cu(dwarf2_per_cu_data*, dwarf2_per_objfile*, bool) (read.c:2021)\n    \u003d\u003d2140965\u003d\u003d    by 0x55634C: dw2_do_instantiate_symtab (read.c:2048)\n    \u003d\u003d2140965\u003d\u003d    by 0x55634C: dw2_instantiate_symtab(dwarf2_per_cu_data*, dwarf2_per_objfile*, bool) (read.c:2085)\n    \u003d\u003d2140965\u003d\u003d    by 0x55700B: dw2_expand_symtabs_matching_one(dwarf2_per_cu_data*, dwarf2_per_objfile*, gdb::function_view\u003cbool (char const*, bool)\u003e, gdb::function_view\u003cbool (compunit_symtab*)\u003e) (read.c:3984)\n    \u003d\u003d2140965\u003d\u003d    by 0x557EA3: cooked_index_functions::expand_symtabs_matching(objfile*, gdb::function_view\u003cbool (char const*, bool)\u003e, lookup_name_info const*, gdb::function_view\u003cbool (char const*)\u003e, gdb::function_view\u003cbool (compunit_symtab*)\u003e, enum_flags\u003cblock_search_flag_values\u003e, domain_enum, search_domain) (read.c:18781)\n    \u003d\u003d2140965\u003d\u003d    by 0x778977: objfile::lookup_symbol(block_enum, char const*, domain_enum) (symfile-debug.c:276)\n    ....\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e95208e2e755c24c8299a1ad3d0d8d3ab122d710",
      "old_mode": 33188,
      "old_path": "gdb/dwarf2/cu.c",
      "new_id": "af95725ebcf42c81e957883d1456146ea9b50f92",
      "new_mode": 33188,
      "new_path": "gdb/dwarf2/cu.c"
    }
  ]
}
