From b662efeddc27736be5248e083eca79f5eaf8ecd3 Mon Sep 17 00:00:00 2001 From: Fred Fish Date: Sat, 9 Nov 1991 21:57:55 +0000 Subject: [PATCH] Remove leftover call to do_cleanups() which resulted from a previous change. Was being called with a random pointer. --- gdb/ChangeLog | 3 +++ gdb/dwarfread.c | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 028a81b3585..e5c8bf38652 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,8 @@ Sat Nov 9 13:37:57 1991 Fred Fish (fnf at cygnus.com) + * dwarfread.c (dwarf_psymtab_to_symtab): Remove leftover call + to do_cleanups() which resulted from a previous change. + * elfread.c: Re-enable compilation of register_addr() stub whenever it is not supplied by coredep.c diff --git a/gdb/dwarfread.c b/gdb/dwarfread.c index c2de217d40c..546c25edd25 100644 --- a/gdb/dwarfread.c +++ b/gdb/dwarfread.c @@ -2404,7 +2404,6 @@ static void DEFUN(dwarf_psymtab_to_symtab, (pst), struct partial_symtab *pst) { int desc; - struct cleanup *old_chain; bfd *sym_bfd; if (!pst) @@ -2438,8 +2437,6 @@ DEFUN(dwarf_psymtab_to_symtab, (pst), struct partial_symtab *pst) scan_file_globals (); #endif - do_cleanups (old_chain); - /* Finish up the debug error message. */ if (info_verbose) { -- 2.30.2