diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2014-12-18 11:39:44 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2014-12-18 11:39:44 -0500 |
commit | db7a9bcd53534a32abf4d75a93838c6bdbf876fa (patch) | |
tree | 0fcfadc166a9b4bc19cf62e8f941f3d3e2da428b /gdb/symfile.h | |
parent | 1bab73830f14fc0dcb1b0e7663cf8c2e02b10d72 (diff) | |
download | fsf-binutils-gdb-db7a9bcd53534a32abf4d75a93838c6bdbf876fa.zip fsf-binutils-gdb-db7a9bcd53534a32abf4d75a93838c6bdbf876fa.tar.gz fsf-binutils-gdb-db7a9bcd53534a32abf4d75a93838c6bdbf876fa.tar.bz2 |
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.
Diffstat (limited to 'gdb/symfile.h')
-rw-r--r-- | gdb/symfile.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/symfile.h b/gdb/symfile.h index 1e8c230..081bc4e 100644 --- a/gdb/symfile.h +++ b/gdb/symfile.h @@ -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 *); |