diff options
author | John Darrington <john@darrington.wattle.id.au> | 2018-07-13 18:08:31 +0200 |
---|---|---|
committer | John Darrington <john@darrington.wattle.id.au> | 2018-09-08 13:21:30 +0200 |
commit | d1908f2d6b9f161b6a31449e83e1b671acb99620 (patch) | |
tree | b72957ffaca040f02fbd59a38496d51847a76496 /gdb/gdbtypes.h | |
parent | 9da4dfd6816fa2198bd80fd6a7b12fef4d6c8361 (diff) | |
download | binutils-gdb-d1908f2d6b9f161b6a31449e83e1b671acb99620.tar.gz |
gdb: Add builtin types for 24 bit integers.
Add int24 and uint24. These are used by the upcoming S12Z target, but will be
needed for any arch which features 24 bit registers.
* gdb/gdbtypes.h (struct builtin_type): New members builtin_int24
and builtin_uint24;
* gdb/gdbtypes.c: Initialize them.
* gdb/doc/gdb.texinfo (Predefined Target Types): Mention types int24 and uint24.
Diffstat (limited to 'gdb/gdbtypes.h')
-rw-r--r-- | gdb/gdbtypes.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/gdbtypes.h b/gdb/gdbtypes.h index 14059ab3dc5..eb7c365b71d 100644 --- a/gdb/gdbtypes.h +++ b/gdb/gdbtypes.h @@ -1611,6 +1611,8 @@ struct builtin_type struct type *builtin_uint8; struct type *builtin_int16; struct type *builtin_uint16; + struct type *builtin_int24; + struct type *builtin_uint24; struct type *builtin_int32; struct type *builtin_uint32; struct type *builtin_int64; |