aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/arm
diff options
context:
space:
mode:
authorRichard Earnshaw <richard.earnshaw@arm.com>2002-02-13 16:32:34 +0000
committerRichard Earnshaw <richard.earnshaw@arm.com>2002-02-13 16:32:34 +0000
commit67255d04f2a93f2e9e56fcd164fee855f938112d (patch)
treeffbbc2944b0118c50f57db429848b5c2f46394cb /gdb/config/arm
parent9ae9b4eac4f559a33d164b9537114b9587a59fd1 (diff)
downloadgdb-67255d04f2a93f2e9e56fcd164fee855f938112d.zip
gdb-67255d04f2a93f2e9e56fcd164fee855f938112d.tar.gz
gdb-67255d04f2a93f2e9e56fcd164fee855f938112d.tar.bz2
* arm-tdep.c (arm_use_struct_convention): Make static. Move to be
with other related struct-returning functions. (arm_extract_struct_value_address): New function. (arm_gdbarch_init): Initialize the above in multi-arch vector. Also initialize float_format, double_format and long_double_format as appropriate to the endianness of the target. * config/arm/tm-arm.h (TARGET_DOUBLE_FORMAT): Delete. (arm_use_struct_convention): Delete declaration. (USE_STRUCT_CONVENTION, EXTRACT_STRUCT_VALUE_ADDRESS): Delete.
Diffstat (limited to 'gdb/config/arm')
-rw-r--r--gdb/config/arm/tm-arm.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/gdb/config/arm/tm-arm.h b/gdb/config/arm/tm-arm.h
index bd8f8f7..df973af 100644
--- a/gdb/config/arm/tm-arm.h
+++ b/gdb/config/arm/tm-arm.h
@@ -26,14 +26,6 @@
#define GDB_MULTI_ARCH 1
#endif
-#include "regcache.h"
-#include "floatformat.h"
-
-/* IEEE format floating point. */
-#define TARGET_DOUBLE_FORMAT (TARGET_BYTE_ORDER == BFD_ENDIAN_BIG \
- ? &floatformat_ieee_double_big \
- : &floatformat_ieee_double_littlebyte_bigword)
-
/* The following define instruction sequences that will cause ARM
cpu's to take an undefined instruction trap. These are used to
signal a breakpoint to GDB.
@@ -69,18 +61,6 @@
#define THUMB_LE_BREAKPOINT {0xfe,0xdf}
#define THUMB_BE_BREAKPOINT {0xdf,0xfe}
-/* The system C compiler uses a similar structure return convention to gcc */
-extern use_struct_convention_fn arm_use_struct_convention;
-#define USE_STRUCT_CONVENTION(gcc_p, type) \
- arm_use_struct_convention (gcc_p, type)
-
-/* Extract from an array REGBUF containing the (raw) register state
- the address in which a function should return its structure value,
- as a CORE_ADDR (or an expression that can be used as one). */
-
-#define EXTRACT_STRUCT_VALUE_ADDRESS(REGBUF) \
- (extract_address ((PTR)(REGBUF), REGISTER_RAW_SIZE(0)))
-
/* Specify that for the native compiler variables for a particular
lexical context are listed after the beginning LBRAC instead of
before in the executables list of symbols. */