PR c++/11026:

* dwarf2read.c (read_partial_die): Allocate partial DIE's name on
	objfile obstack.
This commit is contained in:
Tom Tromey 2010-01-20 02:05:03 +00:00
parent 500ee42ee0
commit 95519e0ee9
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2010-01-19 Tom Tromey <tromey@redhat.com>
PR c++/11026:
* dwarf2read.c (read_partial_die): Allocate partial DIE's name on
objfile obstack.
2010-01-19 Tom Tromey <tromey@redhat.com>
* top.c (stop_sig, float_handler, do_nothing): Remove.

View File

@ -6781,7 +6781,7 @@ read_partial_die (struct partial_die_info *part_die,
default:
part_die->name
= dwarf2_canonicalize_name (DW_STRING (&attr), cu,
&cu->comp_unit_obstack);
&cu->objfile->objfile_obstack);
break;
}
break;