diff options
author | Andrew Cagney <cagney@redhat.com> | 2000-06-08 06:35:40 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2000-06-08 06:35:40 +0000 |
commit | bf64bfd6baaed5dfd64fe518f84e87f95ef8665e (patch) | |
tree | d7563d28b492c5cccd349d81b588628118adb55a /gdb/config | |
parent | b0069a177563e97d76ab70c0e9f70ffe85759876 (diff) | |
download | gdb-bf64bfd6baaed5dfd64fe518f84e87f95ef8665e.zip gdb-bf64bfd6baaed5dfd64fe518f84e87f95ef8665e.tar.gz gdb-bf64bfd6baaed5dfd64fe518f84e87f95ef8665e.tar.bz2 |
MIPS is always multi-arch enabled.
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/mips/tm-irix5.h | 11 | ||||
-rw-r--r-- | gdb/config/mips/tm-mips.h | 28 | ||||
-rw-r--r-- | gdb/config/mips/tm-mips64.h | 16 | ||||
-rw-r--r-- | gdb/config/mips/tm-tx39.h | 3 | ||||
-rw-r--r-- | gdb/config/mips/tm-tx39l.h | 3 | ||||
-rw-r--r-- | gdb/config/mips/tm-vr4100.h | 3 | ||||
-rw-r--r-- | gdb/config/mips/tm-vr4xxx.h | 2 | ||||
-rw-r--r-- | gdb/config/mips/tm-vr4xxxel.h | 2 | ||||
-rw-r--r-- | gdb/config/mips/tm-vr5000.h | 3 | ||||
-rw-r--r-- | gdb/config/mips/tm-vr5000el.h | 3 |
10 files changed, 2 insertions, 72 deletions
diff --git a/gdb/config/mips/tm-irix5.h b/gdb/config/mips/tm-irix5.h index 19b8dbe..25bbae5 100644 --- a/gdb/config/mips/tm-irix5.h +++ b/gdb/config/mips/tm-irix5.h @@ -18,17 +18,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* If we're being built for n32, enable multi-arch. */ -/* FIXME: cagney/2000-04-04: Testing the _MIPS_SIM_NABI32 and - _MIPS_SIM in a tm-*.h file is simply wrong! Those are - host-dependant macros (provided by /usr/include) and stop any - chance of the target being cross compiled */ -#if 0 && defined (_MIPS_SIM_NABI32) && _MIPS_SIM == _MIPS_SIM_NABI32 -/* FIXME: Don't enable multi-arch for IRIX/n32. The test - ``gdb.base/corefile.exp: up in corefile.exp'' fails. */ -#define GDB_MULTI_ARCH 1 -#endif - #include "mips/tm-irix3.h" /* FIXME: cagney/2000-04-04: Testing the _MIPS_SIM_NABI32 and diff --git a/gdb/config/mips/tm-mips.h b/gdb/config/mips/tm-mips.h index ff95113..3f007cd 100644 --- a/gdb/config/mips/tm-mips.h +++ b/gdb/config/mips/tm-mips.h @@ -24,6 +24,8 @@ #ifndef TM_MIPS_H #define TM_MIPS_H 1 +#define GDB_MULTI_ARCH 1 + struct frame_info; struct symbol; struct type; @@ -407,10 +409,6 @@ extern void mips_push_dummy_frame (void); #define POP_FRAME mips_pop_frame() extern void mips_pop_frame (void); -#if !GDB_MULTI_ARCH -#define CALL_DUMMY { 0 } -#endif - #define CALL_DUMMY_START_OFFSET (0) #define CALL_DUMMY_BREAKPOINT_OFFSET (0) @@ -487,22 +485,6 @@ extern struct frame_info *setup_arbitrary_frame (int, CORE_ADDR *); #define ECOFF_REG_TO_REGNUM(num) ((num) < 32 ? (num) : (num)+FP0_REGNUM-32) -#if !GDB_MULTI_ARCH -/* If the current gcc for for this target does not produce correct debugging - information for float parameters, both prototyped and unprototyped, then - define this macro. This forces gdb to always assume that floats are - passed as doubles and then converted in the callee. - - For the mips chip, it appears that the debug info marks the parameters as - floats regardless of whether the function is prototyped, but the actual - values are passed as doubles for the non-prototyped case and floats for - the prototyped case. Thus we choose to make the non-prototyped case work - for C and break the prototyped case, since the non-prototyped case is - probably much more common. (FIXME). */ - -#define COERCE_FLOAT_TO_DOUBLE(formal, actual) (current_language -> la_language == language_c) -#endif - /* Select the default mips disassembler */ #define TM_PRINT_INSN_MACH 0 @@ -579,9 +561,3 @@ extern void mips_set_processor_type_command (char *, int); /* MIPS sign extends addresses */ #define POINTER_TO_ADDRESS(TYPE,BUF) (signed_pointer_to_address (TYPE, BUF)) #define ADDRESS_TO_POINTER(TYPE,BUF,ADDR) (address_to_signed_pointer (TYPE, BUF, ADDR)) - - -/* MIPS is always bi-endian */ -#if !GDB_MULTI_ARCH -#define TARGET_BYTE_ORDER_SELECTABLE_P 1 -#endif diff --git a/gdb/config/mips/tm-mips64.h b/gdb/config/mips/tm-mips64.h index 0031695..f13fa7a 100644 --- a/gdb/config/mips/tm-mips64.h +++ b/gdb/config/mips/tm-mips64.h @@ -35,21 +35,5 @@ #define OP_LDFPR 065 /* ldc1 */ #define OP_LDGPR 067 /* ld */ -#if defined(MIPS_EABI) && (MIPS_EABI != 0) -/* Define sizes for 64-bit data types, allow specific targets to override - these values. Doing so may violate the strict EABI, but it's necessary - for some MIPS III and MIPS IV machines that want 64bit longs, but 32bit - pointers. */ -#ifndef TARGET_LONG_BIT -#define TARGET_LONG_BIT 64 -#endif -#ifndef TARGET_LONG_LONG_BIT -#define TARGET_LONG_LONG_BIT 64 -#endif -#ifndef TARGET_PTR_BIT -#define TARGET_PTR_BIT 64 -#endif -#endif /* MIPS_EABI */ - /* Get the basic MIPS definitions. */ #include "tm-mips.h" diff --git a/gdb/config/mips/tm-tx39.h b/gdb/config/mips/tm-tx39.h index c1d9cf7..c4cc851 100644 --- a/gdb/config/mips/tm-tx39.h +++ b/gdb/config/mips/tm-tx39.h @@ -17,9 +17,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#define GDB_MULTI_ARCH 1 -#define MIPS_EABI 1 - #include "mips/tm-bigmips.h" #undef MIPS_REGISTER_NAMES diff --git a/gdb/config/mips/tm-tx39l.h b/gdb/config/mips/tm-tx39l.h index 802e41b..f8f942e 100644 --- a/gdb/config/mips/tm-tx39l.h +++ b/gdb/config/mips/tm-tx39l.h @@ -17,9 +17,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#define GDB_MULTI_ARCH 1 -#define MIPS_EABI 1 - #include "mips/tm-mips.h" #undef MIPS_REGISTER_NAMES diff --git a/gdb/config/mips/tm-vr4100.h b/gdb/config/mips/tm-vr4100.h index faf0a96..36d5bce 100644 --- a/gdb/config/mips/tm-vr4100.h +++ b/gdb/config/mips/tm-vr4100.h @@ -17,7 +17,4 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#define MIPS_EABI 1 -#define TARGET_PTR_BIT 64 - #include "mips/tm-bigmips64.h" diff --git a/gdb/config/mips/tm-vr4xxx.h b/gdb/config/mips/tm-vr4xxx.h index 7d2a78a..36d5bce 100644 --- a/gdb/config/mips/tm-vr4xxx.h +++ b/gdb/config/mips/tm-vr4xxx.h @@ -17,6 +17,4 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#define GDB_MULTI_ARCH 1 - #include "mips/tm-bigmips64.h" diff --git a/gdb/config/mips/tm-vr4xxxel.h b/gdb/config/mips/tm-vr4xxxel.h index 1347af7..5193747 100644 --- a/gdb/config/mips/tm-vr4xxxel.h +++ b/gdb/config/mips/tm-vr4xxxel.h @@ -17,6 +17,4 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#define GDB_MULTI_ARCH 1 - #include "mips/tm-mips64.h" diff --git a/gdb/config/mips/tm-vr5000.h b/gdb/config/mips/tm-vr5000.h index 1bb91ba..9f1fbba 100644 --- a/gdb/config/mips/tm-vr5000.h +++ b/gdb/config/mips/tm-vr5000.h @@ -17,7 +17,4 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#define GDB_MULTI_ARCH 1 -#define MIPS_EABI 1 - #include "mips/tm-bigmips64.h" diff --git a/gdb/config/mips/tm-vr5000el.h b/gdb/config/mips/tm-vr5000el.h index a93e728..e20adaa 100644 --- a/gdb/config/mips/tm-vr5000el.h +++ b/gdb/config/mips/tm-vr5000el.h @@ -17,7 +17,4 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#define GDB_MULTI_ARCH 1 -#define MIPS_EABI 1 - #include "mips/tm-mips64.h" |