aboutsummaryrefslogtreecommitdiff
path: root/gdb/xcoffread.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-05-21 09:16:16 -0600
committerTom Tromey <tom@tromey.com>2018-07-20 09:42:47 -0600
commitb37dd3bcaac70cede547ba41fdac7878a0f4c67e (patch)
tree55d62af1b780568b136a5d51f037a333304a659b /gdb/xcoffread.c
parente148f09d75af9e5c6af5136fee3a5a298114d41f (diff)
downloadgdb-b37dd3bcaac70cede547ba41fdac7878a0f4c67e.zip
gdb-b37dd3bcaac70cede547ba41fdac7878a0f4c67e.tar.gz
gdb-b37dd3bcaac70cede547ba41fdac7878a0f4c67e.tar.bz2
Remove buildsym_init
Now that buildsym_init does nothing, it can be removed. gdb/ChangeLog 2018-07-20 Tom Tromey <tom@tromey.com> * coffread.c (coff_symtab_read): Update. * xcoffread.c (xcoff_psymtab_to_symtab_1): Update. (xcoff_new_init): Update. * mipsread.c (mipscoff_new_init): Update. * mdebugread.c (mdebug_build_psymtabs): Update. * elfread.c (elf_new_init): Update. * dwarf2read.c (process_full_comp_unit, process_full_type_unit): Update. * dbxread.c (dbx_new_init, dbx_psymtab_to_symtab_1) (coffstab_build_psymtabs, elfstab_build_psymtabs) (stabsect_build_psymtabs): Update. * buildsym.h (buildsym_init): Don't declare. * buildsym.c: Update comment. (prepare_for_building): Remove. (start_symtab, restart_symtab): Update. (reset_symtab_globals): Update comment. (buildsym_init): Remove.
Diffstat (limited to 'gdb/xcoffread.c')
-rw-r--r--gdb/xcoffread.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c
index 9268a3f..ba377d4 100644
--- a/gdb/xcoffread.c
+++ b/gdb/xcoffread.c
@@ -1870,7 +1870,6 @@ xcoff_psymtab_to_symtab_1 (struct objfile *objfile, struct partial_symtab *pst)
{
/* Init stuff necessary for reading in symbols. */
stabsread_init ();
- buildsym_init ();
scoped_free_pendings free_pending;
read_xcoff_symtab (objfile, pst);
@@ -1922,7 +1921,6 @@ static void
xcoff_new_init (struct objfile *objfile)
{
stabsread_new_init ();
- buildsym_init ();
}
/* Do initialization in preparation for reading symbols from OBJFILE.