summaryrefslogtreecommitdiff
path: root/gdb/symfile.h
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
commita9995bff011ea9f40b58e57f670a2b3362f2304f (patch)
tree5370502274ef58efb92f18a2cd18d8ba83690bde /gdb/symfile.h
parent1be750bbf7481155c0dc59df592f82a8eccf31fb (diff)
downloadgdb-a9995bff011ea9f40b58e57f670a2b3362f2304f.tar.gz
* 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/symfile.h')
-rw-r--r--gdb/symfile.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/symfile.h b/gdb/symfile.h
index 38d1145e4f3..060eb4cdee9 100644
--- a/gdb/symfile.h
+++ b/gdb/symfile.h
@@ -174,8 +174,10 @@ extern void add_symtab_fns (struct sym_fns *);
extern void init_entry_point_info (struct objfile *);
-extern void syms_from_objfile (struct objfile *, struct section_addr_info *,
- int, int);
+extern void syms_from_objfile (struct objfile *,
+ struct section_addr_info *,
+ struct section_offsets *, int,
+ int, int);
extern void new_symfile_objfile (struct objfile *, int, int);