aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1991-11-09 21:57:55 +0000
committerFred Fish <fnf@specifix.com>1991-11-09 21:57:55 +0000
commitb662efeddc27736be5248e083eca79f5eaf8ecd3 (patch)
tree89dba4b5fb0fa123c42aa721ea6b523b3268a7e4 /gdb
parentf135f137a951d858202cbf933f6e3478947aa7b8 (diff)
downloadgdb-b662efeddc27736be5248e083eca79f5eaf8ecd3.zip
gdb-b662efeddc27736be5248e083eca79f5eaf8ecd3.tar.gz
gdb-b662efeddc27736be5248e083eca79f5eaf8ecd3.tar.bz2
Remove leftover call to do_cleanups() which resulted from a previous change.
Was being called with a random pointer.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog3
-rw-r--r--gdb/dwarfread.c3
2 files changed, 3 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 028a81b..e5c8bf3 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 c2de217..546c25e 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)
{