diff options
author | John Gilmore <gnu@cygnus> | 1992-06-13 07:24:30 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1992-06-13 07:24:30 +0000 |
commit | 346168a2c65e34dc6f2d073bbc0d158fb1aaa219 (patch) | |
tree | 2c1e1d19d889426541c4be6d08b0e4e3d50d9c24 /gdb/symmisc.c | |
parent | 9342ecb9445e97793a516e97eff233e991b9d84d (diff) | |
download | gdb-346168a2c65e34dc6f2d073bbc0d158fb1aaa219.zip gdb-346168a2c65e34dc6f2d073bbc0d158fb1aaa219.tar.gz gdb-346168a2c65e34dc6f2d073bbc0d158fb1aaa219.tar.bz2 |
* elfread.c (record_minimal_symbol_and_info): Kludged to put
extra info in the minimal symbol.
(elf_symtab_read): The extra info is the size of an ELF object,
which was kludged to us in the `udata' field of the BFD symbol.
Gag me with a crowbar...
(elf_symfile_read): Keep track of both the absolute load address,
and the offset between load addr and symbols. Handle STABS as
well as DWARF sections, passing the absolute load address to
elfstab_build_psymtabs.
* objfiles.c (free_objfile): Eliminate storage leaks. Contributed
by <Peter.Schauer@regent.e-technik.tu-muenchen.dbp.de>.
* symfile.c (symfile_bfd_open): Comment where name is freed.
* symmisc.c (extend_psymbol_list): Comment where list is freed.
Diffstat (limited to 'gdb/symmisc.c')
-rw-r--r-- | gdb/symmisc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/symmisc.c b/gdb/symmisc.c index 285ac07..a78b399 100644 --- a/gdb/symmisc.c +++ b/gdb/symmisc.c @@ -711,7 +711,9 @@ block_depth (block) } -/* Increase the space allocated for LISTP. */ +/* Increase the space allocated for LISTP, which is probably + global_psymbol_list or static_psymbol_list. This space will eventually + be freed in free_objfile(). */ void extend_psymbol_list (listp, objfile) |