gdb: Add builtin types for 24 bit integers.
authorJohn Darrington <john@darrington.wattle.id.au>
Fri, 13 Jul 2018 16:08:31 +0000 (18:08 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Sat, 8 Sep 2018 11:21:30 +0000 (13:21 +0200)
commitd1908f2d6b9f161b6a31449e83e1b671acb99620
treeb72957ffaca040f02fbd59a38496d51847a76496
parent9da4dfd6816fa2198bd80fd6a7b12fef4d6c8361
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.
gdb/doc/gdb.texinfo
gdb/gdbtypes.c
gdb/gdbtypes.h