aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/symfile.c2
2 files changed, 5 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index f9d4391..765bf47 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/symfile.c b/gdb/symfile.c
index a4eaad9..72080ac 100644
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -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);