aboutsummaryrefslogtreecommitdiff
path: root/gdb/rs6000-nat.c
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2003-01-23 07:30:18 +0000
committerJim Blandy <jimb@codesourcery.com>2003-01-23 07:30:18 +0000
commit7e8580c13a90f01fea31684d783b31bc87329b1c (patch)
treecaac4e50246b3c50fc846a8cb6a6aeb3234c1097 /gdb/rs6000-nat.c
parent2307bd6a5069b7e30fb0905d557dd65bf8ddf768 (diff)
downloadgdb-7e8580c13a90f01fea31684d783b31bc87329b1c.zip
gdb-7e8580c13a90f01fea31684d783b31bc87329b1c.tar.gz
gdb-7e8580c13a90f01fea31684d783b31bc87329b1c.tar.bz2
* 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. Document arguments better. (symbol_file_add): Pass extra arguments to syms_from_objfile. * symfile.h (syms_from_objfile): Update declaration. * rs6000-nat.c (objfile_symbol_add): Pass new arguments to syms_from_objfile. * Makefile.in (symfile.o): List dependency on $(gdb_assert_h).
Diffstat (limited to 'gdb/rs6000-nat.c')
-rw-r--r--gdb/rs6000-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/rs6000-nat.c b/gdb/rs6000-nat.c
index 65b4130..4aed8d8 100644
--- a/gdb/rs6000-nat.c
+++ b/gdb/rs6000-nat.c
@@ -684,7 +684,7 @@ objfile_symbol_add (void *arg)
{
struct objfile *obj = (struct objfile *) arg;
- syms_from_objfile (obj, NULL, 0, 0);
+ syms_from_objfile (obj, NULL, 0, 0, 0, 0);
new_symfile_objfile (obj, 0, 0);
return 1;
}