diff options
author | Doug Evans <dje@google.com> | 2013-08-20 18:57:00 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2013-08-20 18:57:00 +0000 |
commit | 622685115cb850489f823886f3146c2cfbff9a99 (patch) | |
tree | 4dd1a17f2d5a8d28a83be957df145380f65241a5 /gdb/dbxread.c | |
parent | 3a7c0567a6b65a1c4afb5a7bea66fb55f06862d3 (diff) | |
download | gdb-622685115cb850489f823886f3146c2cfbff9a99.tar.gz |
* buildsym.c (subfile_stack): Move here from buildsym.h.
(pending_macros): Ditto.
(get_macro_table): New function.
(buildsym_init): Initialize subfile_stack.
* coffread.c (type_vector,type_vector_length): Moved here from
buildsym.h.
(INITIAL_TYPE_VECTOR_LENGTH): Ditto.
(coff_symtab_read): Use it.
* dbxread.c (read_ofile_symtab): Delete init of subfile_stack.
* dwarf2read.c (macro_start_file): Replace uses of pending_macros
with call to get_macro_table.
* stabsread.c (type_vector,type_vector_length): Moved here from
buildsym.h.
(INITIAL_TYPE_VECTOR_LENGTH): Ditto.
* buildsym.h (get_macro_table): Declare.
Diffstat (limited to 'gdb/dbxread.c')
-rw-r--r-- | gdb/dbxread.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/dbxread.c b/gdb/dbxread.c index 08cfc998da6..283b87feca7 100644 --- a/gdb/dbxread.c +++ b/gdb/dbxread.c @@ -2530,7 +2530,6 @@ read_ofile_symtab (struct objfile *objfile, struct partial_symtab *pst) section_offsets = pst->section_offsets; dbxread_objfile = objfile; - subfile_stack = NULL; stringtab_global = DBX_STRINGTAB (objfile); set_last_source_file (NULL); |