summaryrefslogtreecommitdiff
path: root/gdb/xcoffread.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2008-10-01 16:41:25 +0000
committerTom Tromey <tromey@redhat.com>2008-10-01 16:41:25 +0000
commit7ecd22300f767f6531bd60fc053fe21e52f7c344 (patch)
treeb9907be0b1cd737ad6c4019cbdb5b9b817e80759 /gdb/xcoffread.c
parent588c19b0e5cf20e9fb63d2cdaca9c56138b0830e (diff)
downloadgdb-7ecd22300f767f6531bd60fc053fe21e52f7c344.tar.gz
* xcoffread.c (RECORD_MINIMAL_SYMBOL): Update.
(scan_xcoff_symtab): Update. * mdebugread.c (record_minimal_symbol): Update. (parse_partial_symbols): Update. * elfread.c (record_minimal_symbol): Update. * dbxread.c (record_minimal_symbol): Update. * coffread.c (record_minimal_symbol): Update. * sh64-tdep.c (MSYMBOL_IS_SPECIAL): Redefine. (sh64_elf_make_msymbol_special): Update. * mips-tdep.c (mips_elf_make_msymbol_special): Use MSYMBOL_TARGET_FLAG_1. (mips_elf_make_msymbol_special): Likewise. (msymbol_is_special): Likewise. * minsyms.c (prim_record_minimal_symbol_and_info): Update. (install_minimal_symbols): Likewise. (prim_record_minimal_symbol): Update. (prim_record_minimal_symbol_and_info): Remove 'info' argument. * m68hc11-tdep.c (MSYMBOL_SET_RTC): Redefine. (MSYMBOL_SET_RTI): Redefine. (MSYMBOL_IS_RTC): Redefine. (MSYMBOL_IS_RTI): Redefine. * arm-tdep.c (MSYMBOL_SET_SPECIAL): Redefine. (MSYMBOL_IS_SPECIAL): Redefine. * symtab.h (struct minimal_symbol) <info>: Remove. <target_flag_1, target_flag_2>: New fields. (MSYMBOL_INFO): Remove. (MSYMBOL_TARGET_FLAG_1): New macro. (MSYMBOL_TARGET_FLAG_2): Likewise. (prim_record_minimal_symbol_and_info): Update.
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 54e2abaf8ad..e7941acff79 100644
--- a/gdb/xcoffread.c
+++ b/gdb/xcoffread.c
@@ -834,7 +834,7 @@ enter_line_range (struct subfile *subfile, unsigned beginoffset, unsigned endoff
namestr = (NAME); \
if (namestr[0] == '.') ++namestr; \
prim_record_minimal_symbol_and_info (namestr, (ADDR), (TYPE), \
- (char *)NULL, (SECTION), (asection *)NULL, (OBJFILE)); \
+ (SECTION), (asection *)NULL, (OBJFILE)); \
misc_func_recorded = 1; \
}
@@ -2285,7 +2285,7 @@ scan_xcoff_symtab (struct objfile *objfile)
prim_record_minimal_symbol_and_info
(namestring, symbol.n_value,
sclass == C_HIDEXT ? mst_file_data : mst_data,
- NULL, secnum_to_section (symbol.n_scnum, objfile),
+ secnum_to_section (symbol.n_scnum, objfile),
NULL, objfile);
break;
@@ -2360,7 +2360,7 @@ scan_xcoff_symtab (struct objfile *objfile)
prim_record_minimal_symbol_and_info
(namestring, symbol.n_value,
sclass == C_HIDEXT ? mst_file_data : mst_data,
- NULL, secnum_to_section (symbol.n_scnum, objfile),
+ secnum_to_section (symbol.n_scnum, objfile),
NULL, objfile);
break;
}
@@ -2377,7 +2377,7 @@ scan_xcoff_symtab (struct objfile *objfile)
prim_record_minimal_symbol_and_info
(namestring, symbol.n_value,
sclass == C_HIDEXT ? mst_file_bss : mst_bss,
- NULL, secnum_to_section (symbol.n_scnum, objfile),
+ secnum_to_section (symbol.n_scnum, objfile),
NULL, objfile);
break;
}