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.
This commit is contained in:
John Darrington
2018-07-13 18:08:31 +02:00
parent 9da4dfd681
commit d1908f2d6b
3 changed files with 8 additions and 0 deletions

View File

@@ -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;