aboutsummaryrefslogtreecommitdiff
path: root/gdb/xtensa-xtregs.c
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@acm.org>2008-11-19 18:29:47 +0000
committerBob Wilson <bob.wilson@acm.org>2008-11-19 18:29:47 +0000
commitd0107bb6ae60c56a23d5b24c78b050cc3c557943 (patch)
tree9fb298572995f6ed9300dd50b4e1063e62a965c8 /gdb/xtensa-xtregs.c
parent33430bd0ae4777f2c992c55f1ce2f88ee7905c70 (diff)
downloadgdb-d0107bb6ae60c56a23d5b24c78b050cc3c557943.zip
gdb-d0107bb6ae60c56a23d5b24c78b050cc3c557943.tar.gz
gdb-d0107bb6ae60c56a23d5b24c78b050cc3c557943.tar.bz2
gdb/
* xtensa-config.c (rmap): Remove entries for ar32 through ar63. Add threadptr, scompare1, mmid, epc5, epc6, epc7, eps5, eps6, eps7, excsave5, excsave6, excsave7, cpenable, and vecbase registers. (xtensa_submask0, xtensa_submask1, xtensa_submask2) (xtensa_submask3, xtensa_submask4, xtensa_submask5, xtensa_submask6) (xtensa_submask7, xtensa_submask8, xtensa_submask9, xtensa_submask10) (xtensa_submask11, xtensa_submask12, xtensa_submask13, xtensa_submask14) (xtensa_submask15): Adjust register numbers. * xtensa-xtregs.c (XTENSA_ELF_XTREG_SIZE): Change to 4. (xtensa_regmap_table): Add entry for scompare1. * regformats/reg-xtensa.dat: Remove ar32 through ar63. Add threadptr and scompare1. gdb/gdbserver/ * xtensa-xtregs.c (XTENSA_ELF_XTREG_SIZE): Change to 4. (xtensa_regmap_table): Add entry for scompare1.
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 }
};