From 3f2e006b77f217bbf4a4cb9299cf248058a44ed3 Mon Sep 17 00:00:00 2001 From: John Gilmore Date: Fri, 5 Apr 1991 09:02:10 +0000 Subject: *** empty log message *** --- gdb/dbxread.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gdb/dbxread.c') diff --git a/gdb/dbxread.c b/gdb/dbxread.c index 37f456b..4a6a540 100644 --- a/gdb/dbxread.c +++ b/gdb/dbxread.c @@ -791,11 +791,14 @@ really_free_pendings (foo) next1 = next->next; free (next); } + file_symbols = 0; + for (next = global_symbols; next; next = next1) { next1 = next->next; free (next); } + global_symbols = 0; } /* Take one of the lists of symbols and make a block from it. @@ -1709,7 +1712,7 @@ read_dbx_symtab (symfile_name, addr, #ifdef END_OF_TEXT_DEFAULT end_of_text_addr = END_OF_TEXT_DEFAULT; #else - end_of_text_addr = addr + text_size; + end_of_text_addr = text_addr + text_size; #endif symtab_input_desc = desc; /* This is needed for fill_symbuf below */ -- cgit v1.1