aboutsummaryrefslogtreecommitdiff
path: root/gdb/mdebugread.c
diff options
context:
space:
mode:
authorDoug Evans <xdje42@gmail.com>2014-11-18 09:36:15 -0800
committerDoug Evans <xdje42@gmail.com>2014-11-18 09:37:50 -0800
commit4d663531f209bcbd7209ef2f1a02e0b0d4e7385a (patch)
treeb1256ba7edd0060d1ec3b2dd66ca6b56b17d661b /gdb/mdebugread.c
parent0593bd3ace3cb64775f4d9e8039da919c26803cd (diff)
downloadfsf-binutils-gdb-4d663531f209bcbd7209ef2f1a02e0b0d4e7385a.zip
fsf-binutils-gdb-4d663531f209bcbd7209ef2f1a02e0b0d4e7385a.tar.gz
fsf-binutils-gdb-4d663531f209bcbd7209ef2f1a02e0b0d4e7385a.tar.bz2
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.
Diffstat (limited to 'gdb/mdebugread.c')
-rw-r--r--gdb/mdebugread.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/mdebugread.c b/gdb/mdebugread.c
index 6a3b6dc..b520beb 100644
--- a/gdb/mdebugread.c
+++ b/gdb/mdebugread.c
@@ -4051,8 +4051,7 @@ psymtab_to_symtab_1 (struct objfile *objfile,
valu += ANOFFSET (pst->section_offsets,
SECT_OFF_TEXT (objfile));
previous_stab_code = N_SO;
- st = end_symtab (valu, objfile,
- SECT_OFF_TEXT (objfile));
+ st = end_symtab (valu, SECT_OFF_TEXT (objfile));
end_stabs ();
last_symtab_ended = 1;
}
@@ -4116,8 +4115,7 @@ psymtab_to_symtab_1 (struct objfile *objfile,
if (! last_symtab_ended)
{
- st = end_symtab (pst->texthigh, objfile,
- SECT_OFF_TEXT (objfile));
+ st = end_symtab (pst->texthigh, SECT_OFF_TEXT (objfile));
end_stabs ();
}