From 089002bba03cf3f546dd63f98e763254ae04d7c1 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sun, 1 Nov 2020 09:51:13 -0700 Subject: Remove parameter from end_psymtab_common The objfile parameter to end_psymtab_common is no longer needed, so this removes it. gdb/ChangeLog 2020-11-01 Tom Tromey * dbxread.c (dbx_end_psymtab): Update. * dwarf2/read.c (process_psymtab_comp_unit_reader): Update. (build_type_psymtabs_reader): Update. * xcoffread.c (xcoff_end_psymtab): Update. * ctfread.c (scan_partial_symbols): Update. * psympriv.h (end_psymtab_common): Update. * psymtab.c (end_psymtab_common): Remove objfile parameter. (sort_pst_symbols): Likewise. --- gdb/dbxread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/dbxread.c') diff --git a/gdb/dbxread.c b/gdb/dbxread.c index 4e189a7..f9ee007 100644 --- a/gdb/dbxread.c +++ b/gdb/dbxread.c @@ -2004,7 +2004,7 @@ dbx_end_psymtab (struct objfile *objfile, legacy_psymtab *pst, /* End of kludge for patching Solaris textlow and texthigh. */ - end_psymtab_common (objfile, pst); + end_psymtab_common (pst); pst->number_of_dependencies = number_dependencies; if (number_dependencies) -- cgit v1.1