aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2011-12-15 15:36:55 +0000
committerTom Tromey <tromey@redhat.com>2011-12-15 15:36:55 +0000
commitb5b445a33a1bb6289e01fa1a3a417b7e818494ad (patch)
treeb116f927c41434353656d5b012d66db2b2d49b43
parent4434114c64d0db91eec28281c20eeef90b52d9c9 (diff)
downloadgdb-b5b445a33a1bb6289e01fa1a3a417b7e818494ad.zip
gdb-b5b445a33a1bb6289e01fa1a3a417b7e818494ad.tar.gz
gdb-b5b445a33a1bb6289e01fa1a3a417b7e818494ad.tar.bz2
* symfile.c (symbol_file_add_with_addrs_or_offsets): Remove bad
do_cleanups call.
-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);