aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r--gdb/gdbserver/ChangeLog5
-rw-r--r--gdb/gdbserver/xtensa-xtregs.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index 8b25d43..6928840 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,3 +1,8 @@
+2008-11-19 Bob Wilson <bob.wilson@acm.org>
+
+ * xtensa-xtregs.c (XTENSA_ELF_XTREG_SIZE): Change to 4.
+ (xtensa_regmap_table): Add entry for scompare1.
+
2008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
* Makefile.in (powerpc-isa205-32l.o, powerpc-isa205-32l.c,
diff --git a/gdb/gdbserver/xtensa-xtregs.c b/gdb/gdbserver/xtensa-xtregs.c
index 9faa50d..3371522 100644
--- a/gdb/gdbserver/xtensa-xtregs.c
+++ b/gdb/gdbserver/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 }
};