One spot in dwarf_decode_macro_bytes could use the existing "objfile"
local variable.
gdb/ChangeLog
2020-03-26 Tom Tromey <tom@tromey.com>
* dwarf2/macro.c (dwarf_decode_macro_bytes): Use objfile local
variable.
+2020-03-26 Tom Tromey <tom@tromey.com>
+
+ * dwarf2/macro.c (dwarf_decode_macro_bytes): Use objfile local
+ variable.
+
2020-03-26 Tom Tromey <tom@tromey.com>
* dwarf2/macro.h (dwarf_decode_macros): Make section parameter
body = dwz->read_string (objfile, str_offset);
}
else
- body = (dwarf2_per_objfile->str.read_string
- (dwarf2_per_objfile->objfile,
- str_offset, "DW_FORM_strp"));
+ body = dwarf2_per_objfile->str.read_string (objfile,
+ str_offset,
+ "DW_FORM_strp");
}
is_define = (macinfo_type == DW_MACRO_define