aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2read.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r--gdb/dwarf2read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 43017a4..a05c946 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -2765,7 +2765,7 @@ guess_structure_name (struct partial_die_info *struct_pdi,
struct_pdi->name
= obsavestring (actual_class_name,
strlen (actual_class_name),
- &cu->comp_unit_obstack);
+ &cu->objfile->objfile_obstack);
xfree (actual_class_name);
}
break;