mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 06:45:56 +08:00
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:
@ -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 *);
|
||||
|
||||
|
Reference in New Issue
Block a user