aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-10-31 17:57:43 +0000
committerAndrew Cagney <cagney@redhat.com>2004-10-31 17:57:43 +0000
commit75dec9cf6fc479007d87b7f48bd18aba61a07f77 (patch)
tree67385d93824f73e50501cafe815236eb48f69197 /gdb
parentbd9ca83f2c8f1d7a9db5e5645fb5e8f10966948f (diff)
downloadgdb-75dec9cf6fc479007d87b7f48bd18aba61a07f77.zip
gdb-75dec9cf6fc479007d87b7f48bd18aba61a07f77.tar.gz
gdb-75dec9cf6fc479007d87b7f48bd18aba61a07f77.tar.bz2
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.
Diffstat (limited to 'gdb')
-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 */