gdb: add default description reg types

Add support for the default gdb register description type "int" and "float".
When this is given to gdb it will use the bitsize to determine the reg size.

Change-Id: Iaeed594d1feece54044128eae1baff9858bdcae0
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/1622
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
This commit is contained in:
Spencer Oliver
2013-09-12 12:31:49 +01:00
committed by Andreas Fritiofson
parent be74db7341
commit d14058db0a
2 changed files with 6 additions and 0 deletions

View File

@@ -27,6 +27,7 @@
struct target;
enum reg_type {
REG_TYPE_INT,
REG_TYPE_INT8,
REG_TYPE_INT16,
REG_TYPE_INT32,
@@ -39,6 +40,7 @@ enum reg_type {
REG_TYPE_UINT128,
REG_TYPE_CODE_PTR,
REG_TYPE_DATA_PTR,
REG_TYPE_FLOAT,
REG_TYPE_IEEE_SINGLE,
REG_TYPE_IEEE_DOUBLE,
REG_TYPE_ARCH_DEFINED,