diff options
Diffstat (limited to 'gdb/xtensa-tdep.h')
-rw-r--r-- | gdb/xtensa-tdep.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/gdb/xtensa-tdep.h b/gdb/xtensa-tdep.h index f76debe..b6ed965 100644 --- a/gdb/xtensa-tdep.h +++ b/gdb/xtensa-tdep.h @@ -103,13 +103,15 @@ typedef struct typedef struct { + int reg_num; + int bit_start; + int bit_size; +} xtensa_reg_mask_t; + +typedef struct +{ int count; - struct - { - int reg_num; - int bit_start; - int bit_size; - } mask[0]; + xtensa_reg_mask_t *mask; } xtensa_mask_t; |