diff options
-rw-r--r-- | src/server/gdb_server.c | 4 | ||||
-rw-r--r-- | src/target/register.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/server/gdb_server.c b/src/server/gdb_server.c index b9c8e5e..a9681c7 100644 --- a/src/server/gdb_server.c +++ b/src/server/gdb_server.c @@ -1828,6 +1828,8 @@ static int gdb_memory_map(struct connection *connection, static const char *gdb_get_reg_type_name(enum reg_type type) { switch (type) { + case REG_TYPE_INT: + return "int"; case REG_TYPE_INT8: return "int8"; case REG_TYPE_INT16: @@ -1852,6 +1854,8 @@ static const char *gdb_get_reg_type_name(enum reg_type type) return "code_ptr"; case REG_TYPE_DATA_PTR: return "data_ptr"; + case REG_TYPE_FLOAT: + return "float"; case REG_TYPE_IEEE_SINGLE: return "ieee_single"; case REG_TYPE_IEEE_DOUBLE: diff --git a/src/target/register.h b/src/target/register.h index 9e0f1ce..354a179 100644 --- a/src/target/register.h +++ b/src/target/register.h @@ -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, |