aboutsummaryrefslogtreecommitdiff
path: root/gdb/mdebugread.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/mdebugread.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/mdebugread.c')
-rw-r--r--gdb/mdebugread.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/gdb/mdebugread.c b/gdb/mdebugread.c
index 92f3059..a1193c1 100644
--- a/gdb/mdebugread.c
+++ b/gdb/mdebugread.c
@@ -2161,7 +2161,7 @@ parse_partial_symbols (objfile, section_offsets)
ms_type = mst_unknown;
complain (&unknown_ext_complaint, name);
}
- prim_record_minimal_symbol (name, ext_in->asym.value, ms_type);
+ prim_record_minimal_symbol (name, ext_in->asym.value, ms_type, objfile);
}
/* Pass 3 over files, over local syms: fill in static symbols */
@@ -2333,7 +2333,8 @@ parse_partial_symbols (objfile, section_offsets)
/* I believe this is used only for file-local functions.
The comment in symconst.h ("load time only static procs")
isn't particularly clear on this point. */
- prim_record_minimal_symbol (name, sh.value, mst_file_text);
+ prim_record_minimal_symbol (name, sh.value, mst_file_text,
+ objfile);
/* FALLTHROUGH */
case stProc: /* Asm labels apparently */
@@ -2378,9 +2379,11 @@ parse_partial_symbols (objfile, section_offsets)
case stStatic: /* Variable */
if (sh.sc == scData || sh.sc == scSData || sh.sc == scRData)
- prim_record_minimal_symbol (name, sh.value, mst_file_data);
+ prim_record_minimal_symbol (name, sh.value, mst_file_data,
+ objfile);
else
- prim_record_minimal_symbol (name, sh.value, mst_file_bss);
+ prim_record_minimal_symbol (name, sh.value, mst_file_bss,
+ objfile);
class = LOC_STATIC;
break;