aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/h8500
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-12-25 18:44:22 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-12-25 18:44:22 +0000
commit04f566a356078edd7887a4a4de0239a1148c2544 (patch)
tree234b2f579eeae3486bed8ff98afd57b7690b01c5 /gdb/config/h8500
parent504ccfd78814b535f3f67cb99c00514f5dbc8de5 (diff)
downloadgdb-04f566a356078edd7887a4a4de0239a1148c2544.zip
gdb-04f566a356078edd7887a4a4de0239a1148c2544.tar.gz
gdb-04f566a356078edd7887a4a4de0239a1148c2544.tar.bz2
* defs.h: Move definitions of TARGET_*_BIT after include of tm.h.
The old way (using #undef in tm.h) was ugly and asking for trouble, because it makes it possible for some file to use the wrong definition. Move definition of HOST_CHAR_BIT after definition of TARGET_CHAR_BIT. * config/alpha/tm-alpha.h, config/h8300/tm-h8300.h, config/h8500/tm-h8500.h, config/z8k/tm-z8k.h: Don't undef TARGET_*_BIT before defining them.
Diffstat (limited to 'gdb/config/h8500')
-rw-r--r--gdb/config/h8500/tm-h8500.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/config/h8500/tm-h8500.h b/gdb/config/h8500/tm-h8500.h
index 3086ed6..14d476f 100644
--- a/gdb/config/h8500/tm-h8500.h
+++ b/gdb/config/h8500/tm-h8500.h
@@ -27,13 +27,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#define TARGET_BYTE_ORDER BIG_ENDIAN
-#undef TARGET_INT_BIT
#define TARGET_INT_BIT 16
-
-#undef TARGET_LONG_BIT
#define TARGET_LONG_BIT 32
-
-#undef TARGET_PTR_BIT
#define TARGET_PTR_BIT (minimum_mode ? 16 : 32)