diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-06 15:32:25 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-06 15:32:25 +0000 |
commit | 95f1da47fa5763fde40b97db1c75404654b0ebc9 (patch) | |
tree | 367075e98ec617dca9ca0da3276552b25f32ea6f /gdb/gdbarch.h | |
parent | 39e8369ecf71b71951014d346c4f33589cf3fb39 (diff) | |
download | gdb-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/gdbarch.h')
-rw-r--r-- | gdb/gdbarch.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h index 467230f..c399475 100644 --- a/gdb/gdbarch.h +++ b/gdb/gdbarch.h @@ -1085,22 +1085,10 @@ extern void set_gdbarch_construct_inferior_arguments (struct gdbarch *gdbarch, g typedef void (gdbarch_elf_make_msymbol_special_ftype) (asymbol *sym, struct minimal_symbol *msym); extern void gdbarch_elf_make_msymbol_special (struct gdbarch *gdbarch, asymbol *sym, struct minimal_symbol *msym); extern void set_gdbarch_elf_make_msymbol_special (struct gdbarch *gdbarch, gdbarch_elf_make_msymbol_special_ftype *elf_make_msymbol_special); -#if !defined (GDB_TM_FILE) && defined (ELF_MAKE_MSYMBOL_SPECIAL) -#error "Non multi-arch definition of ELF_MAKE_MSYMBOL_SPECIAL" -#endif -#if !defined (ELF_MAKE_MSYMBOL_SPECIAL) -#define ELF_MAKE_MSYMBOL_SPECIAL(sym, msym) (gdbarch_elf_make_msymbol_special (current_gdbarch, sym, msym)) -#endif typedef void (gdbarch_coff_make_msymbol_special_ftype) (int val, struct minimal_symbol *msym); extern void gdbarch_coff_make_msymbol_special (struct gdbarch *gdbarch, int val, struct minimal_symbol *msym); extern void set_gdbarch_coff_make_msymbol_special (struct gdbarch *gdbarch, gdbarch_coff_make_msymbol_special_ftype *coff_make_msymbol_special); -#if !defined (GDB_TM_FILE) && defined (COFF_MAKE_MSYMBOL_SPECIAL) -#error "Non multi-arch definition of COFF_MAKE_MSYMBOL_SPECIAL" -#endif -#if !defined (COFF_MAKE_MSYMBOL_SPECIAL) -#define COFF_MAKE_MSYMBOL_SPECIAL(val, msym) (gdbarch_coff_make_msymbol_special (current_gdbarch, val, msym)) -#endif extern const char * gdbarch_name_of_malloc (struct gdbarch *gdbarch); extern void set_gdbarch_name_of_malloc (struct gdbarch *gdbarch, const char * name_of_malloc); |