aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-03-10 15:01:26 -0600
committerTom Tromey <tom@tromey.com>2019-04-10 08:05:17 -0600
commitee3711344b6e0cffeb237fa6889aab04853f9004 (patch)
tree5060768218634a46e39ac942111f7f50a2cf23ee /gdb/symfile.c
parentbf227d6105cb3908cde816429c84569da12e829c (diff)
downloadgdb-ee3711344b6e0cffeb237fa6889aab04853f9004.zip
gdb-ee3711344b6e0cffeb237fa6889aab04853f9004.tar.gz
gdb-ee3711344b6e0cffeb237fa6889aab04853f9004.tar.bz2
Fix a couple of comments
While working on objfiles I noticed a typo in one comment, and another comment that, as far as I can tell, has been obsolete for a very long time. gdb/ChangeLog 2019-04-10 Tom Tromey <tom@tromey.com> * symfile.c (reread_symbols): Remove old comment. * objfiles.c (free_all_objfiles): Fix a typo.
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r--gdb/symfile.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c
index ba82f1b..dd9c4ae 100644
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -2432,12 +2432,6 @@ reread_symbols (void)
int res;
std::vector<struct objfile *> new_objfiles;
- /* With the addition of shared libraries, this should be modified,
- the load time should be saved in the partial symbol tables, since
- different tables may come from different source files. FIXME.
- This routine should then walk down each partial symbol table
- and see if the symbol table that it originates from has been changed. */
-
for (objfile *objfile : current_program_space->objfiles ())
{
if (objfile->obfd == NULL)