aboutsummaryrefslogtreecommitdiff
path: root/gdb/dbxread.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-04-05 09:02:10 +0000
committerJohn Gilmore <gnu@cygnus>1991-04-05 09:02:10 +0000
commit3f2e006b77f217bbf4a4cb9299cf248058a44ed3 (patch)
tree60b9a78e945e02698d856ea5b82982fe549b26f2 /gdb/dbxread.c
parent07d021a6ae8d3ed9da9f55c8623739e7a716308e (diff)
downloadgdb-3f2e006b77f217bbf4a4cb9299cf248058a44ed3.zip
gdb-3f2e006b77f217bbf4a4cb9299cf248058a44ed3.tar.gz
gdb-3f2e006b77f217bbf4a4cb9299cf248058a44ed3.tar.bz2
*** empty log message ***
Diffstat (limited to 'gdb/dbxread.c')
-rw-r--r--gdb/dbxread.c5
1 files changed, 4 insertions, 1 deletions
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 */