diff options
author | Tom Tromey <tom@tromey.com> | 2020-11-01 09:51:13 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2020-11-01 09:51:13 -0700 |
commit | 525454d654a88a40148e8d3558c69179def61fbf (patch) | |
tree | 14ebc497d8677298ef080ab6fe658da73dbe3ef8 /gdb/xcoffread.c | |
parent | d77c9224555de402eeda3a85d5407a4ef5d964a5 (diff) | |
download | gdb-525454d654a88a40148e8d3558c69179def61fbf.zip gdb-525454d654a88a40148e8d3558c69179def61fbf.tar.gz gdb-525454d654a88a40148e8d3558c69179def61fbf.tar.bz2 |
Remove init_psymbol_list
init_psymbol_list is now empty, and so this removes it.
gdb/ChangeLog
2020-11-01 Tom Tromey <tom@tromey.com>
* dbxread.c (dbx_symfile_read): Update.
* dwarf2/read.c (dwarf2_build_psymtabs): Update.
* xcoffread.c (xcoff_initial_scan): Update.
* psympriv.h (init_psymbol_list): Don't declare.
* psymtab.c (init_psymbol_list): Remove.
Diffstat (limited to 'gdb/xcoffread.c')
-rw-r--r-- | gdb/xcoffread.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c index 3588aae..075ebee 100644 --- a/gdb/xcoffread.c +++ b/gdb/xcoffread.c @@ -2922,12 +2922,6 @@ xcoff_initial_scan (struct objfile *objfile, symfile_add_flags symfile_flags) if (val != size) perror_with_name (_("reading symbol table")); - /* I'm not sure how how good num_symbols is; the rule of thumb in - init_psymbol_list was developed for a.out. On the one hand, - num_symbols includes auxents. On the other hand, it doesn't - include N_SLINE. */ - init_psymbol_list (objfile, num_symbols); - scoped_free_pendings free_pending; minimal_symbol_reader reader (objfile); |