2004-10-31 Andrew Cagney <cagney@gnu.org>
authorAndrew Cagney <cagney@redhat.com>
Sun, 31 Oct 2004 17:57:43 +0000 (17:57 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sun, 31 Oct 2004 17:57:43 +0000 (17:57 +0000)
* 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.

gdb/ChangeLog
gdb/config/alpha/tm-alpha.h
gdb/config/mips/tm-mips.h
gdb/mdebugread.c
gdb/mdebugread.h

index 0ec270a..c88947d 100644 (file)
@@ -1,5 +1,10 @@
 2004-10-31  Andrew Cagney  <cagney@gnu.org>
 
+       * 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
index 468798b..f5e95e9 100644 (file)
 #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 */
index 09af61d..5919a12 100644 (file)
@@ -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 */
index 2c1a616..8c3ca84 100644 (file)
 #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"
 
index 6046f7e..30b98d6 100644 (file)
@@ -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 */