* symfile.c (symbol_file_add_with_addrs_or_offsets): Remove bad
authorTom Tromey <tromey@redhat.com>
Thu, 15 Dec 2011 15:36:55 +0000 (15:36 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 15 Dec 2011 15:36:55 +0000 (15:36 +0000)
do_cleanups call.

gdb/ChangeLog
gdb/symfile.c

index f9d4391c60ba7d4910863a16bb7953df183d06fe..765bf4743670d1c0cc78c13434d9142363955298 100644 (file)
@@ -1,3 +1,8 @@
+2011-12-15  Tom Tromey  <tromey@redhat.com>
+
+       * symfile.c (symbol_file_add_with_addrs_or_offsets): Remove bad
+       do_cleanups call.
+
 2011-12-14  Doug Evans  <dje@google.com>
 
        * defs.h (wait_to_die_with_timeout): Declare.
index a4eaad9d091be44d50cda962059ed6dbfad42a15..72080acdf8dcbb53bd7f63d18bcfc072347063c8 100644 (file)
@@ -1165,8 +1165,6 @@ symbol_file_add_with_addrs_or_offsets (bfd *abfd,
      time.  */
   gdb_flush (gdb_stdout);
 
-  do_cleanups (my_cleanups);
-
   if (objfile->sf == NULL)
     {
       observer_notify_new_objfile (objfile);