aboutsummaryrefslogtreecommitdiff
path: root/gdb/cp-name-parser.y
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2011-12-17 20:10:57 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2011-12-17 20:10:57 +0000
commitdd274a34d22249bd4ae2e868fdd02678f69dd36c (patch)
tree820a0afd0551a79f8fefbdd50461eba8760b3cb3 /gdb/cp-name-parser.y
parenta3e3e961b47d7a2105c419e3b3f5583fb0647a31 (diff)
downloadbinutils-dd274a34d22249bd4ae2e868fdd02678f69dd36c.zip
binutils-dd274a34d22249bd4ae2e868fdd02678f69dd36c.tar.gz
binutils-dd274a34d22249bd4ae2e868fdd02678f69dd36c.tar.bz2
* cp-name-parser.y (cp_merge_demangle_parse_infos): Don't use
obstack_empty_p.
Diffstat (limited to 'gdb/cp-name-parser.y')
-rw-r--r--gdb/cp-name-parser.y3
1 files changed, 0 insertions, 3 deletions
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);
}