* cp-name-parser.y (cp_merge_demangle_parse_infos): Don't use
obstack_empty_p.
This commit is contained in:
parent
a3e3e961b4
commit
dd274a34d2
@ -1,3 +1,8 @@
|
||||
2011-12-17 Andreas Schwab <schwab@linux-m68k.org>
|
||||
|
||||
* cp-name-parser.y (cp_merge_demangle_parse_infos): Don't use
|
||||
obstack_empty_p.
|
||||
|
||||
2011-12-17 Mark Kettenis <kettenis@gnu.org>
|
||||
|
||||
* amd64obsd-tdep.c (amd64obsd_init_abi): Don't set
|
||||
|
@ -2029,9 +2029,6 @@ cp_merge_demangle_parse_infos (struct demangle_parse_info *dest,
|
||||
cp_demangled_parse_info_free is called. */
|
||||
src->info = NULL;
|
||||
|
||||
/* Assert if the SRC obstack is not empty. */
|
||||
gdb_assert (obstack_empty_p (&src->obstack));
|
||||
|
||||
/* Free SRC. */
|
||||
cp_demangled_name_parse_free (src);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user