diff options
author | Tristan Gingold <gingold@adacore.com> | 2009-12-07 09:36:44 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2009-12-07 09:36:44 +0000 |
commit | de1d8fb992ae375f46792f3d8ef9aadfc5378773 (patch) | |
tree | eca2adcf9aea95361ee512efbd751928ebdf3e6b /gdb/machoread.c | |
parent | e1c9c36ff623edd9db155891939e29a67141899b (diff) | |
download | gdb-de1d8fb992ae375f46792f3d8ef9aadfc5378773.zip gdb-de1d8fb992ae375f46792f3d8ef9aadfc5378773.tar.gz gdb-de1d8fb992ae375f46792f3d8ef9aadfc5378773.tar.bz2 |
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 8ff899b..e82f12f 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 */ |