aboutsummaryrefslogtreecommitdiff
path: root/gdb/xcoffread.c
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1997-02-10 15:59:01 +0000
committerFred Fish <fnf@specifix.com>1997-02-10 15:59:01 +0000
commit86fdcdafd16b6eace7e26288b92a8ddcf958b316 (patch)
treef0d5e271ffc1cb5456a52b1af58cad54139fb8b0 /gdb/xcoffread.c
parent11effa691a7e2c35a80deb2983076b7432a4f065 (diff)
downloadgdb-86fdcdafd16b6eace7e26288b92a8ddcf958b316.zip
gdb-86fdcdafd16b6eace7e26288b92a8ddcf958b316.tar.gz
gdb-86fdcdafd16b6eace7e26288b92a8ddcf958b316.tar.bz2
* xcoffread.c (RECORD_MINIMAL_SYMBOL): Add NULL asection* parameter
to prim_record_minimal_symbol_and_info call that was missed in Jan 3 change. (scan_xcoff_symtab): Ditto.
Diffstat (limited to 'gdb/xcoffread.c')
-rw-r--r--gdb/xcoffread.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c
index c4b868f..89df7df 100644
--- a/gdb/xcoffread.c
+++ b/gdb/xcoffread.c
@@ -861,7 +861,7 @@ enter_line_range (subfile, beginoffset, endoffset, startaddr, endaddr,
namestr = (NAME); \
if (namestr[0] == '.') ++namestr; \
prim_record_minimal_symbol_and_info (namestr, (ADDR), (TYPE), \
- (char *)NULL, (SECTION), (OBJFILE)); \
+ (char *)NULL, (SECTION), (asection *)NULL, (OBJFILE)); \
misc_func_recorded = 1; \
}
@@ -2356,7 +2356,7 @@ scan_xcoff_symtab (section_offsets, objfile)
(namestring, symbol.n_value,
sclass == C_HIDEXT ? mst_file_data : mst_data,
NULL, secnum_to_section (symbol.n_scnum, objfile),
- objfile);
+ NULL, objfile);
break;
case XMC_TC0:
@@ -2426,7 +2426,7 @@ scan_xcoff_symtab (section_offsets, objfile)
(namestring, symbol.n_value,
sclass == C_HIDEXT ? mst_file_data : mst_data,
NULL, secnum_to_section (symbol.n_scnum, objfile),
- objfile);
+ NULL, objfile);
break;
}
break;
@@ -2443,7 +2443,7 @@ scan_xcoff_symtab (section_offsets, objfile)
(namestring, symbol.n_value,
sclass == C_HIDEXT ? mst_file_bss : mst_bss,
NULL, secnum_to_section (symbol.n_scnum, objfile),
- objfile);
+ NULL, objfile);
break;
}
break;