aboutsummaryrefslogtreecommitdiff
path: root/gdb/defs.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-08-11 02:55:38 +0000
committerAndrew Cagney <cagney@redhat.com>2000-08-11 02:55:38 +0000
commit66b43ecb0f97cb826fa1595098a8fb0e7dc8a7c9 (patch)
tree04896aff206f334543ccd6c46e5da6cb15f5113b /gdb/defs.h
parent6d0285024767ef31d27ee12ca048078824371c39 (diff)
downloadgdb-66b43ecb0f97cb826fa1595098a8fb0e7dc8a7c9.zip
gdb-66b43ecb0f97cb826fa1595098a8fb0e7dc8a7c9.tar.gz
gdb-66b43ecb0f97cb826fa1595098a8fb0e7dc8a7c9.tar.bz2
Move TARGET_*_PTR to gdbarch.h.
Diffstat (limited to 'gdb/defs.h')
-rw-r--r--gdb/defs.h45
1 files changed, 0 insertions, 45 deletions
diff --git a/gdb/defs.h b/gdb/defs.h
index 1ff7d66..7768ea6 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -1025,51 +1025,6 @@ extern char *alloca ();
#define TARGET_CHAR_BIT 8
#endif
-/* Number of bits in a short or unsigned short for the target machine. */
-#if !defined (TARGET_SHORT_BIT)
-#define TARGET_SHORT_BIT (2 * TARGET_CHAR_BIT)
-#endif
-
-/* Number of bits in an int or unsigned int for the target machine. */
-#if !defined (TARGET_INT_BIT)
-#define TARGET_INT_BIT (4 * TARGET_CHAR_BIT)
-#endif
-
-/* Number of bits in a long or unsigned long for the target machine. */
-#if !defined (TARGET_LONG_BIT)
-#define TARGET_LONG_BIT (4 * TARGET_CHAR_BIT)
-#endif
-
-/* Number of bits in a long long or unsigned long long for the target machine. */
-#if !defined (TARGET_LONG_LONG_BIT)
-#define TARGET_LONG_LONG_BIT (2 * TARGET_LONG_BIT)
-#endif
-
-/* Number of bits in a float for the target machine. */
-#if !defined (TARGET_FLOAT_BIT)
-#define TARGET_FLOAT_BIT (4 * TARGET_CHAR_BIT)
-#endif
-
-/* Number of bits in a double for the target machine. */
-#if !defined (TARGET_DOUBLE_BIT)
-#define TARGET_DOUBLE_BIT (8 * TARGET_CHAR_BIT)
-#endif
-
-/* Number of bits in a long double for the target machine. */
-#if !defined (TARGET_LONG_DOUBLE_BIT)
-#define TARGET_LONG_DOUBLE_BIT (2 * TARGET_DOUBLE_BIT)
-#endif
-
-/* Number of bits in a pointer for the target machine */
-#if !defined (TARGET_PTR_BIT)
-#define TARGET_PTR_BIT TARGET_INT_BIT
-#endif
-
-/* Number of bits in a BFD_VMA for the target object file format. */
-#if !defined (TARGET_BFD_VMA_BIT)
-#define TARGET_BFD_VMA_BIT TARGET_PTR_BIT
-#endif
-
/* If we picked up a copy of CHAR_BIT from a configuration file
(which may get it by including <limits.h>) then use it to set
the number of bits in a host char. If not, use the same size