diff options
author | Tristan Gingold <gingold@adacore.com> | 2009-12-07 09:36:40 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2009-12-07 09:36:40 +0000 |
commit | 8890fd718efa3320c54f4c93403922a5e68a773e (patch) | |
tree | 69e5a3b943dbff12d59c79485e56bd7bddea7b56 /gdb/machoread.c | |
parent | 88004baa6fc2128b4b7a7af1156f3da18fe1b5eb (diff) | |
download | gdb-8890fd718efa3320c54f4c93403922a5e68a773e.tar.gz |
2009-12-07 Tristan Gingold <gingold@adacore.com>
* dbxread.c (dbx_symfile_read): No need to test mainline to call
init_psymbol_list.
* xcoffread.c (xcoff_initial_scan): Ditto;
* coffread.c (coff_symfile_read): Remove call to init_psymbol_list.
* elfread.c (elf_symfile_read): Ditto.
* machoread.c (macho_symfile_read): Ditto.
Diffstat (limited to 'gdb/machoread.c')
-rw-r--r-- | gdb/machoread.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/machoread.c b/gdb/machoread.c index 8ff899be67b..e82f12fe005 100644 --- a/gdb/machoread.c +++ b/gdb/machoread.c @@ -649,11 +649,6 @@ macho_symfile_read (struct objfile *objfile, int mainline) } } - /* If we are reinitializing, or if we have never loaded syms yet, - set table to empty. */ - if (mainline) - init_psymbol_list (objfile, 0); - if (dwarf2_has_info (objfile)) { /* DWARF 2 sections */ |