diff options
Diffstat (limited to 'gdb/arch-utils.c')
-rw-r--r-- | gdb/arch-utils.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c index 60c8301..6fac5ea 100644 --- a/gdb/arch-utils.c +++ b/gdb/arch-utils.c @@ -387,6 +387,14 @@ generic_register_raw_size (int regnum) return TARGET_INT_BIT / HOST_CHAR_BIT; } +/* Assume the virtual size corresponds to the virtual type. */ + +int +generic_register_virtual_size (int regnum) +{ + return REGISTER_VIRTUAL_TYPE (regnum); +} + /* Functions to manipulate the endianness of the target. */ |