]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
* symfile.c (symbol_file_add_with_addrs_or_offsets): New function,
authorJim Blandy <jimb@codesourcery.com>
Tue, 26 Nov 2002 03:14:15 +0000 (03:14 +0000)
committerJim Blandy <jimb@codesourcery.com>
Tue, 26 Nov 2002 03:14:15 +0000 (03:14 +0000)
commit0ea586b423ddacac26f7c78ee749e9a31bdd8b36
tree88c060ba4e5e55b2fec1f30d30c809cfaf856849
parent8240bcfba31d7a7cafb172f41de57bdf4d4b1cee
* symfile.c (symbol_file_add_with_addrs_or_offsets): New function,
like the old symbol_file_add, but taking new arguments: you can
now pass in either a `struct section_addr_info' list to say where
each section is loaded, or a `struct section_offsets' table.  Pass
these new arguments through to syms_from_objfile as appropriate.
(symbol_file_add): Just call symbol_file_add_with_addrs_or_offsets,
with the appropriate quiescent values for the new arguments.
gdb/ChangeLog
gdb/symfile.c