* symfile.c (symbol_file_add_with_addrs_or_offsets): New function,
authorJim Blandy <jimb@codesourcery.com>
Thu, 23 Jan 2003 08:06:36 +0000 (08:06 +0000)
committerJim Blandy <jimb@codesourcery.com>
Thu, 23 Jan 2003 08:06:36 +0000 (08:06 +0000)
commit7904e09f8fc9327521760fa66df8c6252f36582d
tree901f64e6cd88f524302cb0cf15d80e0307d8cb96
parent7e8580c13a90f01fea31684d783b31bc87329b1c
* 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
This page took 0.026518 seconds and 4 git commands to generate.