From 95f1da47fa5763fde40b97db1c75404654b0ebc9 Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Wed, 6 Jun 2007 15:32:25 +0000 Subject: 2007-06-06 Markus Deuling * gdbarch.sh (COFF_MAKE_MSYMBOL_SPECIAL): Replace by gdbarch_coff_make_msymbol_special. * coffread.c (coff_symtab_read): Likewise. * gdbarch.sh (ELF_MAKE_MSYMBOL_SPECIAL): Replace by gdbarch_elf_make_msymbol_special. * elfread.c (elf_symtab_read): Likewise. * mips-tdep.c (mips_elf_make_msymbol_special): Likewise (comment). * sh64-tdep.c (MSYMBOL_IS_SPECIAL): Likewise (comment). * gdbarch.c, gdbarch.h: Regenerate. --- gdb/coffread.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gdb/coffread.c') diff --git a/gdb/coffread.c b/gdb/coffread.c index 62c221e..a9be6f6 100644 --- a/gdb/coffread.c +++ b/gdb/coffread.c @@ -931,7 +931,8 @@ coff_symtab_read (long symtab_offset, unsigned int nsyms, msym = record_minimal_symbol (cs, tmpaddr, ms_type, sec, objfile); if (msym) - COFF_MAKE_MSYMBOL_SPECIAL (cs->c_sclass, msym); + gdbarch_coff_make_msymbol_special + (current_gdbarch, cs->c_sclass, msym); if (SDB_TYPE (cs->c_type)) { -- cgit v1.1