OSDN Git Service

* symfile.c (symbol_file_add_with_addrs_or_offsets): New function,
authorjimb <jimb>
Thu, 23 Jan 2003 08:06:36 +0000 (08:06 +0000)
committerjimb <jimb>
Thu, 23 Jan 2003 08:06:36 +0000 (08:06 +0000)
commit1a5261323ca18dd3a3fda08ac42d5e63bd2fad8c
tree27b916bf4d859f9a3e9c8ed523935fc455577041
parent164cbcdda4bc65965f94c5e47174343e57f0fbc0
* 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