From b5b445a33a1bb6289e01fa1a3a417b7e818494ad Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 15 Dec 2011 15:36:55 +0000 Subject: [PATCH] * symfile.c (symbol_file_add_with_addrs_or_offsets): Remove bad do_cleanups call. --- gdb/ChangeLog | 5 +++++ gdb/symfile.c | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f9d4391c60b..765bf474367 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2011-12-15 Tom Tromey + + * symfile.c (symbol_file_add_with_addrs_or_offsets): Remove bad + do_cleanups call. + 2011-12-14 Doug Evans * defs.h (wait_to_die_with_timeout): Declare. diff --git a/gdb/symfile.c b/gdb/symfile.c index a4eaad9d091..72080acdf8d 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); -- 2.30.2