buildsym API cleanup
authorDoug Evans <xdje42@gmail.com>
Tue, 18 Nov 2014 17:36:15 +0000 (09:36 -0800)
committerDoug Evans <xdje42@gmail.com>
Tue, 18 Nov 2014 17:37:50 +0000 (09:37 -0800)
commit4d663531f209bcbd7209ef2f1a02e0b0d4e7385a
treeb1256ba7edd0060d1ec3b2dd66ca6b56b17d661b
parent0593bd3ace3cb64775f4d9e8039da919c26803cd
buildsym API cleanup

gdb/ChangeLog:

* buildsym.c (buildsym_objfile): New static global.
(buildsym_comp_dir): New static global.
(finish_block_internal): Delete arg objfile.  All callers updated.
(finish_block): Delete arg objfile.  All callers updated.
(start_subfile): Delete arg dirname.  All callers updated.
(patch_subfile_names): Update buildsym_comp_dir.
(get_macro_table): Delete arg objfile.  All callers updated.
(start_symtab): New arg objfile.  All callers updated.
Rename arg dirname to comp_dir.
(reset_symtab_globals): Initialize buildsym_objfile, buildsym_comp_dir.
(end_symtab_get_static_block): Delete arg objfile.  All callers
updated.
(end_symtab_without_blockvector): Ditto.
(end_symtab_with_blockvector): Ditto.
(end_symtab_from_static_block): Ditto.
(end_symtab): Ditto.
(end_expandable_symtab): Ditto.
(augment_type_symtab): Ditto.
* coffread.c (coff_start_symtab): New arg objfile.  All callers
updated.
gdb/ChangeLog
gdb/buildsym.c
gdb/buildsym.h
gdb/coffread.c
gdb/dbxread.c
gdb/dwarf2read.c
gdb/mdebugread.c
gdb/xcoffread.c
This page took 0.043067 seconds and 4 git commands to generate.