* buildsym.c (subfile_stack): Move here from buildsym.h.
authorDoug Evans <dje@google.com>
Tue, 20 Aug 2013 18:57:00 +0000 (18:57 +0000)
committerDoug Evans <dje@google.com>
Tue, 20 Aug 2013 18:57:00 +0000 (18:57 +0000)
commitfc474241b7996b9ebdd4f83f52692096637c5620
tree3a1f9390110ec58d04b244e8bade92befc60bd19
parentbec71544ee9433508b970323621e4a1d19656ba1
* 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.
gdb/ChangeLog
gdb/buildsym.c
gdb/buildsym.h
gdb/coffread.c
gdb/dbxread.c
gdb/dwarf2read.c
gdb/stabsread.c