aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/config/alpha/tm-alpha.h5
-rw-r--r--gdb/config/mips/tm-mips.h5
-rw-r--r--gdb/mdebugread.c8
-rw-r--r--gdb/mdebugread.h5
5 files changed, 10 insertions, 18 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 0ec270a..c88947d 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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
diff --git a/gdb/config/alpha/tm-alpha.h b/gdb/config/alpha/tm-alpha.h
index 468798b..f5e95e9 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 09af61d..5919a12 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 2c1a616..8c3ca84 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 6046f7e..30b98d6 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 */