This is the mail archive of the
gdb-cvs@sources.redhat.com
mailing list for the GDB project.
src/gdb symfile.c
- From: jimb at sources dot redhat dot com
- To: gdb-cvs at sources dot redhat dot com
- Date: 23 Dec 2002 08:50:09 -0000
- Subject: src/gdb symfile.c
CVSROOT: /cvs/src
Module name: src
Branch: jimb-separate-debug-021223-branch
Changes by: jimb@sourceware.org 2002-12-23 00:50:08
Modified files:
gdb : symfile.c
Log message:
* 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.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/symfile.c.diff?cvsroot=src&only_with_tag=jimb-separate-debug-021223-branch&r1=1.75.2.1&r2=1.75.2.2