aboutsummaryrefslogtreecommitdiff
path: root/gdb/regformats
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2007-06-13 18:50:38 +0000
committerDaniel Jacobowitz <drow@false.org>2007-06-13 18:50:38 +0000
commit117ce5436248fc716d7328850061120ba2e05bbf (patch)
treeaae0d3e7d90fc2ac6f0fe07749ed43d6c463d019 /gdb/regformats
parent822b65708d4030ccb4fd2a979de5292f730e30b8 (diff)
downloadgdb-117ce5436248fc716d7328850061120ba2e05bbf.zip
gdb-117ce5436248fc716d7328850061120ba2e05bbf.tar.gz
gdb-117ce5436248fc716d7328850061120ba2e05bbf.tar.bz2
* features/Makefile: Generate regformats for mips-linux and
mips64-linux. * features/sort-regs.xsl: Correct typo. * regformats/reg-mips.dat, regformats/reg-mips64.dat: Delete. * regformats/mips-linux.dat, regformats/mips64-linux.dat: New generated files. * Makefile.in (clean): Clean new files instead of deleted ones. (reg-mips.o, reg-mips.c, reg-mips64.o, reg-mips64.c): Delete. (mips-linux.o, mips-linux.c, mips64-linux.o, mips64-linux.c): New rules. * configure.srv: Specify XML files and new regformats for MIPS and MIPS64 GNU/Linux. * linux-mips-low.c (mips_num_regs): Set to only used registers. (mips_regmap): Do not fetch $0. Remove unused registers. Add an entry for the restart register. (mips_cannot_fetch_register, mips_cannot_store_register) (mips_reinsert_addr, mips_fill_fpregset, mips_store_fpregset): Update register names to match the XML descriptions. (mips_fill_gregset, mips_store_gregset): Likewise. Handle the restart register instead of $0.
Diffstat (limited to 'gdb/regformats')
-rw-r--r--gdb/regformats/mips-linux.dat76
-rw-r--r--gdb/regformats/mips64-linux.dat76
2 files changed, 152 insertions, 0 deletions
diff --git a/gdb/regformats/mips-linux.dat b/gdb/regformats/mips-linux.dat
new file mode 100644
index 0000000..38c47d4
--- /dev/null
+++ b/gdb/regformats/mips-linux.dat
@@ -0,0 +1,76 @@
+# DO NOT EDIT: generated from mips-linux.xml
+name:mips_linux
+expedite:r29,pc
+32:r0
+32:r1
+32:r2
+32:r3
+32:r4
+32:r5
+32:r6
+32:r7
+32:r8
+32:r9
+32:r10
+32:r11
+32:r12
+32:r13
+32:r14
+32:r15
+32:r16
+32:r17
+32:r18
+32:r19
+32:r20
+32:r21
+32:r22
+32:r23
+32:r24
+32:r25
+32:r26
+32:r27
+32:r28
+32:r29
+32:r30
+32:r31
+32:status
+32:lo
+32:hi
+32:badvaddr
+32:cause
+32:pc
+32:f0
+32:f1
+32:f2
+32:f3
+32:f4
+32:f5
+32:f6
+32:f7
+32:f8
+32:f9
+32:f10
+32:f11
+32:f12
+32:f13
+32:f14
+32:f15
+32:f16
+32:f17
+32:f18
+32:f19
+32:f20
+32:f21
+32:f22
+32:f23
+32:f24
+32:f25
+32:f26
+32:f27
+32:f28
+32:f29
+32:f30
+32:f31
+32:fcsr
+32:fir
+32:restart
diff --git a/gdb/regformats/mips64-linux.dat b/gdb/regformats/mips64-linux.dat
new file mode 100644
index 0000000..0049457
--- /dev/null
+++ b/gdb/regformats/mips64-linux.dat
@@ -0,0 +1,76 @@
+# DO NOT EDIT: generated from mips64-linux.xml
+name:mips64_linux
+expedite:r29,pc
+64:r0
+64:r1
+64:r2
+64:r3
+64:r4
+64:r5
+64:r6
+64:r7
+64:r8
+64:r9
+64:r10
+64:r11
+64:r12
+64:r13
+64:r14
+64:r15
+64:r16
+64:r17
+64:r18
+64:r19
+64:r20
+64:r21
+64:r22
+64:r23
+64:r24
+64:r25
+64:r26
+64:r27
+64:r28
+64:r29
+64:r30
+64:r31
+64:status
+64:lo
+64:hi
+64:badvaddr
+64:cause
+64:pc
+64:f0
+64:f1
+64:f2
+64:f3
+64:f4
+64:f5
+64:f6
+64:f7
+64:f8
+64:f9
+64:f10
+64:f11
+64:f12
+64:f13
+64:f14
+64:f15
+64:f16
+64:f17
+64:f18
+64:f19
+64:f20
+64:f21
+64:f22
+64:f23
+64:f24
+64:f25
+64:f26
+64:f27
+64:f28
+64:f29
+64:f30
+64:f31
+64:fcsr
+64:fir
+64:restart