summaryrefslogtreecommitdiff
path: root/gdb/dwarf2/macro.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/dwarf2/macro.c')
-rw-r--r--gdb/dwarf2/macro.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/dwarf2/macro.c b/gdb/dwarf2/macro.c
index 6c2d2514652..c2580193205 100644
--- a/gdb/dwarf2/macro.c
+++ b/gdb/dwarf2/macro.c
@@ -512,9 +512,9 @@ dwarf_decode_macro_bytes (struct dwarf2_per_objfile *dwarf2_per_objfile,
body = dwz->read_string (objfile, str_offset);
}
else
- body = dwarf2_per_objfile->str.read_string (objfile,
- str_offset,
- "DW_FORM_strp");
+ body = dwarf2_per_objfile->per_bfd->str.read_string (objfile,
+ str_offset,
+ "DW_FORM_strp");
}
is_define = (macinfo_type == DW_MACRO_define