aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2003-01-23 08:06:36 +0000
committerJim Blandy <jimb@codesourcery.com>2003-01-23 08:06:36 +0000
commit7904e09f8fc9327521760fa66df8c6252f36582d (patch)
tree901f64e6cd88f524302cb0cf15d80e0307d8cb96 /gdb/ChangeLog
parent7e8580c13a90f01fea31684d783b31bc87329b1c (diff)
downloadgdb-7904e09f8fc9327521760fa66df8c6252f36582d.zip
gdb-7904e09f8fc9327521760fa66df8c6252f36582d.tar.gz
gdb-7904e09f8fc9327521760fa66df8c6252f36582d.tar.bz2
* 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.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 81e1f69..86bb5fb 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,13 @@
2003-01-22 Jim Blandy <jimb@redhat.com>
+ * 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.
+
* symfile.c: #include "gdb_assert.h".
(syms_from_objfile): Add the ability to pass in a section offset
table directly, as an alternative to the section_addr_info table.