aboutsummaryrefslogtreecommitdiff
path: root/gdb/minsyms.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-12-27 17:47:28 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-12-27 17:47:28 +0000
commit8d60affde942f6f53da98e3c053e2434097fa9bc (patch)
tree15f111c9b0a6a7de036cc813acb07bf9fb1f92d3 /gdb/minsyms.c
parentdfb4a5086163f6d359745033328895b31642b047 (diff)
downloadgdb-8d60affde942f6f53da98e3c053e2434097fa9bc.zip
gdb-8d60affde942f6f53da98e3c053e2434097fa9bc.tar.gz
gdb-8d60affde942f6f53da98e3c053e2434097fa9bc.tar.bz2
* minsyms.c, symtab.h (prim_record_minimal_symbol{,_and_info}),
coffread.c (record_minimal_symbol), xcoffread.c (RECORD_MINIMAL_SYMBOL), callers: Add objfile parameter.
Diffstat (limited to 'gdb/minsyms.c')
-rw-r--r--gdb/minsyms.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/gdb/minsyms.c b/gdb/minsyms.c
index b45b4f4..31f20c3 100644
--- a/gdb/minsyms.c
+++ b/gdb/minsyms.c
@@ -292,21 +292,24 @@ init_minimal_symbol_collection ()
}
void
-prim_record_minimal_symbol (name, address, ms_type)
+prim_record_minimal_symbol (name, address, ms_type, objfile)
const char *name;
CORE_ADDR address;
enum minimal_symbol_type ms_type;
+ struct objfile *objfile;
{
- prim_record_minimal_symbol (name, address, ms_type, NULL, -1);
+ prim_record_minimal_symbol (name, address, ms_type, NULL, -1, objfile);
}
void
-prim_record_minimal_symbol_and_info (name, address, ms_type, info, section)
+prim_record_minimal_symbol_and_info (name, address, ms_type, info, section,
+ objfile)
const char *name;
CORE_ADDR address;
enum minimal_symbol_type ms_type;
char *info;
int section;
+ struct objfile *objfile;
{
register struct msym_bunch *new;
register struct minimal_symbol *msymbol;