From: Andrew Cagney Date: Sun, 31 Oct 2004 17:57:43 +0000 (+0000) Subject: 2004-10-31 Andrew Cagney X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=75dec9cf6fc479007d87b7f48bd18aba61a07f77;p=binutils-gdb.git 2004-10-31 Andrew Cagney * mdebugread.h (MDEBUG_EFI_SYMBOL_NAME): Define. * mdebugread.c (MDEBUG_EFI_SYMBOL_NAME): Delete. * config/alpha/tm-alpha.h (MDEBUG_EFI_SYMBOL_NAME): Delete. * config/mips/tm-mips.h (MDEBUG_EFI_SYMBOL_NAME): Delete. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0ec270a395b..c88947d46ca 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2004-10-31 Andrew Cagney + * mdebugread.h (MDEBUG_EFI_SYMBOL_NAME): Define. + * mdebugread.c (MDEBUG_EFI_SYMBOL_NAME): Delete. + * config/alpha/tm-alpha.h (MDEBUG_EFI_SYMBOL_NAME): Delete. + * config/mips/tm-mips.h (MDEBUG_EFI_SYMBOL_NAME): Delete. + * mdebugread.h (ecoff_relocate_efi): Delete declaration. * mdebugread.c (ecoff_relocate_efi): Delete function. * objfiles.c (objfile_relocate): Delete #ifdef diff --git a/gdb/config/alpha/tm-alpha.h b/gdb/config/alpha/tm-alpha.h index 468798b4711..f5e95e96551 100644 --- a/gdb/config/alpha/tm-alpha.h +++ b/gdb/config/alpha/tm-alpha.h @@ -24,11 +24,6 @@ #ifndef TM_ALPHA_H #define TM_ALPHA_H -/* Special symbol found in blocks associated with routines. We can hang - alpha_extra_func_info_t's off of this. */ - -#define MDEBUG_EFI_SYMBOL_NAME "__GDB_EFI_INFO__" - #define RA_REGNUM 26 /* XXXJRT needed by mdebugread.c */ #endif /* TM_ALPHA_H */ diff --git a/gdb/config/mips/tm-mips.h b/gdb/config/mips/tm-mips.h index 09af61d3031..5919a12ac84 100644 --- a/gdb/config/mips/tm-mips.h +++ b/gdb/config/mips/tm-mips.h @@ -33,9 +33,4 @@ struct symbol; struct type; struct value; -/* Special symbol found in blocks associated with routines. We can - hang mdebug_extra_func_info's off of this. */ - -#define MDEBUG_EFI_SYMBOL_NAME "__GDB_EFI_INFO__" - #endif /* TM_MIPS_H */ diff --git a/gdb/mdebugread.c b/gdb/mdebugread.c index 2c1a616a8a8..8c3ca848c66 100644 --- a/gdb/mdebugread.c +++ b/gdb/mdebugread.c @@ -57,14 +57,6 @@ #include "block.h" #include "dictionary.h" #include "mdebugread.h" - -/* These are needed if the tm.h file does not contain the necessary - mips specific definitions. */ - -#ifndef MDEBUG_EFI_SYMBOL_NAME -#define MDEBUG_EFI_SYMBOL_NAME "__GDB_EFI_INFO__" -#endif - #include "gdb_stat.h" #include "gdb_string.h" diff --git a/gdb/mdebugread.h b/gdb/mdebugread.h index 6046f7e62c4..30b98d6206d 100644 --- a/gdb/mdebugread.h +++ b/gdb/mdebugread.h @@ -34,4 +34,9 @@ struct mdebug_extra_func_info PDR pdr; /* Procedure descriptor record */ }; +/* Special symbol found in blocks associated with routines. We can + hang mdebug_extra_func_info's off of this. */ + +#define MDEBUG_EFI_SYMBOL_NAME "__GDB_EFI_INFO__" + #endif /* MDEBUGREAD_H */