diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-12-25 18:44:22 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-12-25 18:44:22 +0000 |
commit | 04f566a356078edd7887a4a4de0239a1148c2544 (patch) | |
tree | 234b2f579eeae3486bed8ff98afd57b7690b01c5 /gdb/config/h8300 | |
parent | 504ccfd78814b535f3f67cb99c00514f5dbc8de5 (diff) | |
download | gdb-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/h8300')
-rw-r--r-- | gdb/config/h8300/tm-h8300.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/config/h8300/tm-h8300.h b/gdb/config/h8300/tm-h8300.h index 3356008..e3de3d5 100644 --- a/gdb/config/h8300/tm-h8300.h +++ b/gdb/config/h8300/tm-h8300.h @@ -47,11 +47,9 @@ extern void init_extra_frame_info (); #define IEEE_FLOAT /* Define the bit, byte, and word ordering of the machine. */ #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 (h8300hmode ? 32:16) /* Offset from address of function to start of its code. |