diff options
author | Tom Tromey <tromey@redhat.com> | 2011-12-08 18:08:12 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2011-12-08 18:08:12 +0000 |
commit | ff011ed785d6a9e25c853f8c69bb5d62bc080fec (patch) | |
tree | 1af3c8007b3fbd250a1fddedb783101ba59be697 /gdb/objfiles.c | |
parent | d8ea7931936cdd95a066bfc1c1fbf0de0340ce6f (diff) | |
download | gdb-ff011ed785d6a9e25c853f8c69bb5d62bc080fec.zip gdb-ff011ed785d6a9e25c853f8c69bb5d62bc080fec.tar.gz gdb-ff011ed785d6a9e25c853f8c69bb5d62bc080fec.tar.bz2 |
* objfiles.h (struct objfile): Remove obsolete comment.
* objfiles.c (build_objfile_section_table): Remove obsolete
comment.
Diffstat (limited to 'gdb/objfiles.c')
-rw-r--r-- | gdb/objfiles.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/gdb/objfiles.c b/gdb/objfiles.c index 34d6422..fb26420 100644 --- a/gdb/objfiles.c +++ b/gdb/objfiles.c @@ -162,12 +162,6 @@ add_to_objfile_sections (struct bfd *abfd, struct bfd_section *asect, int build_objfile_section_table (struct objfile *objfile) { - /* objfile->sections can be already set when reading a mapped symbol - file. I believe that we do need to rebuild the section table in - this case (we rebuild other things derived from the bfd), but we - can't free the old one (it's in the objfile_obstack). So we just - waste some memory. */ - objfile->sections_end = 0; bfd_map_over_sections (objfile->obfd, add_to_objfile_sections, (void *) objfile); |