From: Andreas Schwab Date: Sat, 17 Dec 2011 20:10:57 +0000 (+0000) Subject: * cp-name-parser.y (cp_merge_demangle_parse_infos): Don't use X-Git-Tag: sid-snapshot-20120101~89 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dd274a34d22249bd4ae2e868fdd02678f69dd36c;p=external%2Fbinutils.git * cp-name-parser.y (cp_merge_demangle_parse_infos): Don't use obstack_empty_p. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f73ed04..5a8eb1c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2011-12-17 Andreas Schwab + + * cp-name-parser.y (cp_merge_demangle_parse_infos): Don't use + obstack_empty_p. + 2011-12-17 Mark Kettenis * amd64obsd-tdep.c (amd64obsd_init_abi): Don't set diff --git a/gdb/cp-name-parser.y b/gdb/cp-name-parser.y index f257370..b0262f2 100644 --- a/gdb/cp-name-parser.y +++ b/gdb/cp-name-parser.y @@ -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); }