]> 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>
Mon, 23 Dec 2002 08:50:07 +0000 (08:50 +0000)
committerJim Blandy <jimb@codesourcery.com>
Mon, 23 Dec 2002 08:50:07 +0000 (08:50 +0000)
commit3d92c6b3e691be6a41245ac0fa00670e54301dad
tree5b6c24885eefeb38e12892353c1295f28b80b452
parentfe59e42b13d67ad0644f5fcf4a05b5e340b76539
* 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/symfile.c