aboutsummaryrefslogtreecommitdiff
path: root/gdb/xtensa-xtregs.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/xtensa-xtregs.c')
-rw-r--r--gdb/xtensa-xtregs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/xtensa-xtregs.c b/gdb/xtensa-xtregs.c
index 9faa50d..3371522 100644
--- a/gdb/xtensa-xtregs.c
+++ b/gdb/xtensa-xtregs.c
@@ -28,10 +28,11 @@ typedef struct {
char* name
;} xtensa_regtable_t;
-#define XTENSA_ELF_XTREG_SIZE 0
+#define XTENSA_ELF_XTREG_SIZE 4
const xtensa_regtable_t xtensa_regmap_table[] = {
/* gnum,gofs,cpofs,ofs,siz,cp, dbnum, name */
+ { 44, 176, 0, 0, 4, -1, 0x020c, "scompare1" },
{ 0 }
};