aboutsummaryrefslogtreecommitdiff
path: root/gdb/coffread.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-06-06 15:32:25 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-06-06 15:32:25 +0000
commit95f1da47fa5763fde40b97db1c75404654b0ebc9 (patch)
tree367075e98ec617dca9ca0da3276552b25f32ea6f /gdb/coffread.c
parent39e8369ecf71b71951014d346c4f33589cf3fb39 (diff)
downloadgdb-95f1da47fa5763fde40b97db1c75404654b0ebc9.zip
gdb-95f1da47fa5763fde40b97db1c75404654b0ebc9.tar.gz
gdb-95f1da47fa5763fde40b97db1c75404654b0ebc9.tar.bz2
2007-06-06 Markus Deuling <deuling@de.ibm.com>
* 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.
Diffstat (limited to 'gdb/coffread.c')
-rw-r--r--gdb/coffread.c3
1 files changed, 2 insertions, 1 deletions
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))
{