A few comment cleanups

I stumbled upon a few comments that I think are outdated.

Comment for elfread.c (elf_symfile_init): As far as history goes in git,
I don't see anything related to that.

Comment for elfread.c (elf_symfile_read): References a parameter that was
removed in 1999.

Comment for struct sym_fns/sym_offsets: References a parameter that was
changed in 1999.

gdb/ChangeLog:

	* elfread.c (elf_symfile_init): Remove stale comment.
	(elf_symfile_read): Same.
	* symfile.h (struct sym_fns): Same.
This commit is contained in:
Simon Marchi
2014-12-18 11:39:44 -05:00
parent 1bab73830f
commit db7a9bcd53
3 changed files with 12 additions and 17 deletions

View File

@ -353,12 +353,12 @@ struct sym_fns
void (*sym_finish) (struct objfile *);
/* This function produces a file-dependent section_offsets
structure, allocated in the objfile's storage, and based on the
parameter. The parameter is currently a CORE_ADDR (FIXME!) for
backward compatibility with the higher levels of GDB. It should
probably be changed to a string, where NULL means the default,
and others are parsed in a file dependent way. */
structure, allocated in the objfile's storage.
The section_addr_info structure contains the offset of loadable and
allocated sections, relative to the absolute offsets found in the BFD. */
void (*sym_offsets) (struct objfile *, const struct section_addr_info *);