aboutsummaryrefslogtreecommitdiff
path: root/gdb/dbxread.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-05-20 11:25:20 -0600
committerTom Tromey <tom@tromey.com>2018-07-16 08:55:19 -0600
commit2c722d18f32b1c1f82c7546b1e41edec47d88dce (patch)
tree5b29aec9b019672008891a0c9b0d3b02bd7f43e4 /gdb/dbxread.c
parent5985ac614d7e8ae65faadf62e9302c1c096b5647 (diff)
downloadgdb-2c722d18f32b1c1f82c7546b1e41edec47d88dce.zip
gdb-2c722d18f32b1c1f82c7546b1e41edec47d88dce.tar.gz
gdb-2c722d18f32b1c1f82c7546b1e41edec47d88dce.tar.bz2
Remove buildsym_new_init
buildsym_new_init is just an alias for buildsym_init. This removes it. In the long run buildsym_init will also go away; this patch just helps make things a bit clearer in the meantime. gdb/ChangeLog 2018-07-16 Tom Tromey <tom@tromey.com> * xcoffread.c (xcoff_new_init): Update. * mipsread.c (mipscoff_new_init): Update. * mdebugread.c (mdebug_build_psymtabs): Update. * elfread.c (elf_new_init): Update. * dbxread.c (dbx_new_init, coffstab_build_psymtabs) (elfstab_build_psymtabs, stabsect_build_psymtabs): Update. * buildsym.h (buildsym_new_init): Don't declare. * buildsym.c (buildsym_new_init): Remove.
Diffstat (limited to 'gdb/dbxread.c')
-rw-r--r--gdb/dbxread.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/dbxread.c b/gdb/dbxread.c
index ba0483e..7729315 100644
--- a/gdb/dbxread.c
+++ b/gdb/dbxread.c
@@ -568,7 +568,7 @@ static void
dbx_new_init (struct objfile *ignore)
{
stabsread_new_init ();
- buildsym_new_init ();
+ buildsym_init ();
init_header_files ();
}
@@ -3037,7 +3037,7 @@ coffstab_build_psymtabs (struct objfile *objfile,
perror_with_name (name);
stabsread_new_init ();
- buildsym_new_init ();
+ buildsym_init ();
free_header_files ();
init_header_files ();
@@ -3125,7 +3125,7 @@ elfstab_build_psymtabs (struct objfile *objfile, asection *stabsect,
perror_with_name (name);
stabsread_new_init ();
- buildsym_new_init ();
+ buildsym_init ();
free_header_files ();
init_header_files ();
@@ -3227,7 +3227,7 @@ stabsect_build_psymtabs (struct objfile *objfile, char *stab_name,
perror_with_name (name);
stabsread_new_init ();
- buildsym_new_init ();
+ buildsym_init ();
free_header_files ();
init_header_files ();