* cp-name-parser.y (cp_merge_demangle_parse_infos): Don't use
authorAndreas Schwab <schwab@linux-m68k.org>
Sat, 17 Dec 2011 20:10:57 +0000 (20:10 +0000)
committerAndreas Schwab <schwab@linux-m68k.org>
Sat, 17 Dec 2011 20:10:57 +0000 (20:10 +0000)
obstack_empty_p.

gdb/ChangeLog
gdb/cp-name-parser.y

index f73ed04196ad2f25d08fc4ea53bb6ff92fd17e8c..5a8eb1c0647db0c06473e9229ec7b9e21d2d0de1 100644 (file)
@@ -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
index f257370c2e9abf43b00b690907e79fc25eace4f3..b0262f2307d0c28d01a1f98d27a024a5135ef304 100644 (file)
@@ -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);
 }