aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-08-20 13:17:55 +0000
committerAndrew Cagney <cagney@redhat.com>2002-08-20 13:17:55 +0000
commitdfc3d9b2450c2b929c6749685d06534eaf3e1e5c (patch)
tree4587e51d43447fbf7763d2023c1899f8d7ddb3b0 /gdb
parent483fc7cd611aeff5310b43f37a3308d47ad27c71 (diff)
downloadfsf-binutils-gdb-dfc3d9b2450c2b929c6749685d06534eaf3e1e5c.zip
fsf-binutils-gdb-dfc3d9b2450c2b929c6749685d06534eaf3e1e5c.tar.gz
fsf-binutils-gdb-dfc3d9b2450c2b929c6749685d06534eaf3e1e5c.tar.bz2
2002-08-20 Andrew Cagney <ac131313@redhat.com>
* config/mips/tm-nbsd.h (MIPS_DEFAULT_ABI): Delete. * config/mips/tm-linux.h (MIPS_DEFAULT_ABI): Delete. * config/mips/tm-irix5.h (MIPS_DEFAULT_ABI): Delete. * config/mips/tm-irix6.h (MIPS_DEFAULT_ABI): Delete. * mips-tdep.c (mips_gdbarch_init) [MIPS_DEFAULT_ABI]: Delete code.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog8
-rw-r--r--gdb/config/mips/tm-irix5.h3
-rw-r--r--gdb/config/mips/tm-irix6.h4
-rw-r--r--gdb/config/mips/tm-linux.h5
-rw-r--r--gdb/config/mips/tm-nbsd.h5
-rw-r--r--gdb/mips-tdep.c5
6 files changed, 8 insertions, 22 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 034254f..3a4d722 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,11 @@
+2002-08-20 Andrew Cagney <ac131313@redhat.com>
+
+ * config/mips/tm-nbsd.h (MIPS_DEFAULT_ABI): Delete.
+ * config/mips/tm-linux.h (MIPS_DEFAULT_ABI): Delete.
+ * config/mips/tm-irix5.h (MIPS_DEFAULT_ABI): Delete.
+ * config/mips/tm-irix6.h (MIPS_DEFAULT_ABI): Delete.
+ * mips-tdep.c (mips_gdbarch_init) [MIPS_DEFAULT_ABI]: Delete code.
+
2002-08-14 Michael Snyder <msnyder@redhat.com>
* mips-tdep.c (mips_frame_chain): Check for call-dummy frames.
diff --git a/gdb/config/mips/tm-irix5.h b/gdb/config/mips/tm-irix5.h
index 1a88de0..2a1af87 100644
--- a/gdb/config/mips/tm-irix5.h
+++ b/gdb/config/mips/tm-irix5.h
@@ -48,9 +48,6 @@
: ((N) >= 70 && (N) <= 89) ? builtin_type_uint32 \
: builtin_type_int)
-/* Force N32 ABI as the default. */
-#define MIPS_DEFAULT_ABI MIPS_ABI_N32
-
#endif /* N32 */
diff --git a/gdb/config/mips/tm-irix6.h b/gdb/config/mips/tm-irix6.h
index 1230a9b..ac710a4 100644
--- a/gdb/config/mips/tm-irix6.h
+++ b/gdb/config/mips/tm-irix6.h
@@ -88,10 +88,6 @@
((N) - FP0_REGNUM) * sizeof(double) : \
32 * sizeof(double) + ((N) - 32) * MIPS_REGSIZE)
-/* Force N32 ABI as the default. */
-#define MIPS_DEFAULT_ABI MIPS_ABI_N32
-
-
/* The signal handler trampoline is called _sigtramp. */
#undef IN_SIGTRAMP
#define IN_SIGTRAMP(pc, name) ((name) && STREQ ("_sigtramp", name))
diff --git a/gdb/config/mips/tm-linux.h b/gdb/config/mips/tm-linux.h
index 68233c0..60e9bee 100644
--- a/gdb/config/mips/tm-linux.h
+++ b/gdb/config/mips/tm-linux.h
@@ -40,11 +40,6 @@
#include "config/tm-linux.h"
-/* There's an E_MIPS_ABI_O32 flag in e_flags, but we don't use it - in
- fact, using it may violate the o32 ABI. */
-
-#define MIPS_DEFAULT_ABI MIPS_ABI_O32
-
/* Use target_specific function to define link map offsets. */
extern struct link_map_offsets *mips_linux_svr4_fetch_link_map_offsets (void);
diff --git a/gdb/config/mips/tm-nbsd.h b/gdb/config/mips/tm-nbsd.h
index fc74486..143f3a4 100644
--- a/gdb/config/mips/tm-nbsd.h
+++ b/gdb/config/mips/tm-nbsd.h
@@ -28,11 +28,6 @@
#include "mips/tm-mips.h"
#include "solib.h"
-/* There's an E_MIPS_ABI_O32 flag in e_flags, but we don't use it - in
- fact, using it may violate the o32 ABI. */
-
-#define MIPS_DEFAULT_ABI MIPS_ABI_O32
-
/* We don't want to inherit tm-mips.h's shared library trampoline code. */
#undef IN_SOLIB_CALL_TRAMPOLINE
#undef IN_SOLIB_RETURN_TRAMPOLINE
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c
index 296dea6..8c18294 100644
--- a/gdb/mips-tdep.c
+++ b/gdb/mips-tdep.c
@@ -5509,11 +5509,6 @@ mips_gdbarch_init (struct gdbarch_info info,
}
}
-#ifdef MIPS_DEFAULT_ABI
- if (mips_abi == MIPS_ABI_UNKNOWN)
- mips_abi = MIPS_DEFAULT_ABI;
-#endif
-
if (mips_abi == MIPS_ABI_UNKNOWN)
mips_abi = MIPS_ABI_O32;