aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2read.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/dwarf2read.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/dwarf2read.c')
-rw-r--r--gdb/dwarf2read.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 805eaf2..985a233 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -10241,7 +10241,6 @@ process_full_comp_unit (struct dwarf2_per_cu_data *per_cu,
baseaddr = ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile));
- buildsym_init ();
scoped_free_pendings free_pending;
/* Clear the list here in case something was left over. */
@@ -10344,7 +10343,6 @@ process_full_type_unit (struct dwarf2_per_cu_data *per_cu,
gdb_assert (per_cu->is_debug_types);
sig_type = (struct signatured_type *) per_cu;
- buildsym_init ();
scoped_free_pendings free_pending;
/* Clear the list here in case something was left over. */