aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2007-12-04 15:41:46 +0000
committerMaciej W. Rozycki <macro@linux-mips.org>2007-12-04 15:41:46 +0000
commit3966e1906c7b0689cacba9954d0f5d87c3b6bb27 (patch)
tree31f73d00728776df23a703016f32782226257c25
parent4becf47ce77f8c51564e2a3b7306b628420c4593 (diff)
downloadgdb-3966e1906c7b0689cacba9954d0f5d87c3b6bb27.zip
gdb-3966e1906c7b0689cacba9954d0f5d87c3b6bb27.tar.gz
gdb-3966e1906c7b0689cacba9954d0f5d87c3b6bb27.tar.bz2
* features/mips-cpu.xml: Specify "regnum" for "r0" explicitly.
* features/mips64-cpu.xml: Likewise. * features/mips-fpu.xml: Specify "regnum" for "f0" explicitly. * features/mips64-fpu.xml: Likewise. * features/mips-linux.c: Regenerate. * features/mips64-linux.c: Regenerate.
-rw-r--r--gdb/ChangeLog9
-rw-r--r--gdb/features/mips-cpu.xml2
-rw-r--r--gdb/features/mips-fpu.xml2
-rw-r--r--gdb/features/mips-linux.c70
-rw-r--r--gdb/features/mips64-cpu.xml2
-rw-r--r--gdb/features/mips64-fpu.xml2
-rw-r--r--gdb/features/mips64-linux.c70
7 files changed, 83 insertions, 74 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 54aec11..d3256ec 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,14 @@
2007-12-04 Maciej W. Rozycki <macro@mips.com>
+ * features/mips-cpu.xml: Specify "regnum" for "r0" explicitly.
+ * features/mips64-cpu.xml: Likewise.
+ * features/mips-fpu.xml: Specify "regnum" for "f0" explicitly.
+ * features/mips64-fpu.xml: Likewise.
+ * features/mips-linux.c: Regenerate.
+ * features/mips64-linux.c: Regenerate.
+
+2007-12-04 Maciej W. Rozycki <macro@mips.com>
+
* target.h (target_find_new_threads): Fix definition.
2007-12-02 Pierre Muller <muller@ics.u-strasbg.fr>
diff --git a/gdb/features/mips-cpu.xml b/gdb/features/mips-cpu.xml
index ea285dd..5df48cd 100644
--- a/gdb/features/mips-cpu.xml
+++ b/gdb/features/mips-cpu.xml
@@ -7,7 +7,7 @@
<!DOCTYPE feature SYSTEM "gdb-target.dtd">
<feature name="org.gnu.gdb.mips.cpu">
- <reg name="r0" bitsize="32"/>
+ <reg name="r0" bitsize="32" regnum="0"/>
<reg name="r1" bitsize="32"/>
<reg name="r2" bitsize="32"/>
<reg name="r3" bitsize="32"/>
diff --git a/gdb/features/mips-fpu.xml b/gdb/features/mips-fpu.xml
index 6fb5452..a00acc3 100644
--- a/gdb/features/mips-fpu.xml
+++ b/gdb/features/mips-fpu.xml
@@ -7,7 +7,7 @@
<!DOCTYPE feature SYSTEM "gdb-target.dtd">
<feature name="org.gnu.gdb.mips.fpu">
- <reg name="f0" bitsize="32" type="ieee_single"/>
+ <reg name="f0" bitsize="32" type="ieee_single" regnum="38"/>
<reg name="f1" bitsize="32" type="ieee_single"/>
<reg name="f2" bitsize="32" type="ieee_single"/>
<reg name="f3" bitsize="32" type="ieee_single"/>
diff --git a/gdb/features/mips-linux.c b/gdb/features/mips-linux.c
index 51785e4..fb5b074 100644
--- a/gdb/features/mips-linux.c
+++ b/gdb/features/mips-linux.c
@@ -57,43 +57,43 @@ initialize_tdesc_mips_linux (void)
tdesc_create_reg (feature, "cause", 36, 1, NULL, 32, "int");
feature = tdesc_create_feature (result, "org.gnu.gdb.mips.fpu");
- tdesc_create_reg (feature, "f0", 37, 1, NULL, 32, "ieee_single");
- tdesc_create_reg (feature, "f1", 38, 1, NULL, 32, "ieee_single");
- tdesc_create_reg (feature, "f2", 39, 1, NULL, 32, "ieee_single");
- tdesc_create_reg (feature, "f3", 40, 1, NULL, 32, "ieee_single");
- tdesc_create_reg (feature, "f4", 41, 1, NULL, 32, "ieee_single");
- tdesc_create_reg (feature, "f5", 42, 1, NULL, 32, "ieee_single");
- tdesc_create_reg (feature, "f6", 43, 1, NULL, 32, "ieee_single");
- tdesc_create_reg (feature, "f7", 44, 1, NULL, 32, "ieee_single");
- tdesc_create_reg (feature, "f8", 45, 1, NULL, 32, "ieee_single");
- tdesc_create_reg (feature, "f9", 46, 1, NULL, 32, "ieee_single");
- tdesc_create_reg (feature, "f10", 47, 1, NULL, 32, "ieee_single");
- tdesc_create_reg (feature, "f11", 48, 1, NULL, 32, "ieee_single");
- tdesc_create_reg (feature, "f12", 49, 1, NULL, 32, "ieee_single");
- tdesc_create_reg (feature, "f13", 50, 1, NULL, 32, "ieee_single");
- tdesc_create_reg (feature, "f14", 51, 1, NULL, 32, "ieee_single");
- tdesc_create_reg (feature, "f15", 52, 1, NULL, 32, "ieee_single");
- tdesc_create_reg (feature, "f16", 53, 1, NULL, 32, "ieee_single");
- tdesc_create_reg (feature, "f17", 54, 1, NULL, 32, "ieee_single");
- tdesc_create_reg (feature, "f18", 55, 1, NULL, 32, "ieee_single");
- tdesc_create_reg (feature, "f19", 56, 1, NULL, 32, "ieee_single");
- tdesc_create_reg (feature, "f20", 57, 1, NULL, 32, "ieee_single");
- tdesc_create_reg (feature, "f21", 58, 1, NULL, 32, "ieee_single");
- tdesc_create_reg (feature, "f22", 59, 1, NULL, 32, "ieee_single");
- tdesc_create_reg (feature, "f23", 60, 1, NULL, 32, "ieee_single");
- tdesc_create_reg (feature, "f24", 61, 1, NULL, 32, "ieee_single");
- tdesc_create_reg (feature, "f25", 62, 1, NULL, 32, "ieee_single");
- tdesc_create_reg (feature, "f26", 63, 1, NULL, 32, "ieee_single");
- tdesc_create_reg (feature, "f27", 64, 1, NULL, 32, "ieee_single");
- tdesc_create_reg (feature, "f28", 65, 1, NULL, 32, "ieee_single");
- tdesc_create_reg (feature, "f29", 66, 1, NULL, 32, "ieee_single");
- tdesc_create_reg (feature, "f30", 67, 1, NULL, 32, "ieee_single");
- tdesc_create_reg (feature, "f31", 68, 1, NULL, 32, "ieee_single");
- tdesc_create_reg (feature, "fcsr", 69, 1, "float", 32, "int");
- tdesc_create_reg (feature, "fir", 70, 1, "float", 32, "int");
+ tdesc_create_reg (feature, "f0", 38, 1, NULL, 32, "ieee_single");
+ tdesc_create_reg (feature, "f1", 39, 1, NULL, 32, "ieee_single");
+ tdesc_create_reg (feature, "f2", 40, 1, NULL, 32, "ieee_single");
+ tdesc_create_reg (feature, "f3", 41, 1, NULL, 32, "ieee_single");
+ tdesc_create_reg (feature, "f4", 42, 1, NULL, 32, "ieee_single");
+ tdesc_create_reg (feature, "f5", 43, 1, NULL, 32, "ieee_single");
+ tdesc_create_reg (feature, "f6", 44, 1, NULL, 32, "ieee_single");
+ tdesc_create_reg (feature, "f7", 45, 1, NULL, 32, "ieee_single");
+ tdesc_create_reg (feature, "f8", 46, 1, NULL, 32, "ieee_single");
+ tdesc_create_reg (feature, "f9", 47, 1, NULL, 32, "ieee_single");
+ tdesc_create_reg (feature, "f10", 48, 1, NULL, 32, "ieee_single");
+ tdesc_create_reg (feature, "f11", 49, 1, NULL, 32, "ieee_single");
+ tdesc_create_reg (feature, "f12", 50, 1, NULL, 32, "ieee_single");
+ tdesc_create_reg (feature, "f13", 51, 1, NULL, 32, "ieee_single");
+ tdesc_create_reg (feature, "f14", 52, 1, NULL, 32, "ieee_single");
+ tdesc_create_reg (feature, "f15", 53, 1, NULL, 32, "ieee_single");
+ tdesc_create_reg (feature, "f16", 54, 1, NULL, 32, "ieee_single");
+ tdesc_create_reg (feature, "f17", 55, 1, NULL, 32, "ieee_single");
+ tdesc_create_reg (feature, "f18", 56, 1, NULL, 32, "ieee_single");
+ tdesc_create_reg (feature, "f19", 57, 1, NULL, 32, "ieee_single");
+ tdesc_create_reg (feature, "f20", 58, 1, NULL, 32, "ieee_single");
+ tdesc_create_reg (feature, "f21", 59, 1, NULL, 32, "ieee_single");
+ tdesc_create_reg (feature, "f22", 60, 1, NULL, 32, "ieee_single");
+ tdesc_create_reg (feature, "f23", 61, 1, NULL, 32, "ieee_single");
+ tdesc_create_reg (feature, "f24", 62, 1, NULL, 32, "ieee_single");
+ tdesc_create_reg (feature, "f25", 63, 1, NULL, 32, "ieee_single");
+ tdesc_create_reg (feature, "f26", 64, 1, NULL, 32, "ieee_single");
+ tdesc_create_reg (feature, "f27", 65, 1, NULL, 32, "ieee_single");
+ tdesc_create_reg (feature, "f28", 66, 1, NULL, 32, "ieee_single");
+ tdesc_create_reg (feature, "f29", 67, 1, NULL, 32, "ieee_single");
+ tdesc_create_reg (feature, "f30", 68, 1, NULL, 32, "ieee_single");
+ tdesc_create_reg (feature, "f31", 69, 1, NULL, 32, "ieee_single");
+ tdesc_create_reg (feature, "fcsr", 70, 1, "float", 32, "int");
+ tdesc_create_reg (feature, "fir", 71, 1, "float", 32, "int");
feature = tdesc_create_feature (result, "org.gnu.gdb.mips.linux");
- tdesc_create_reg (feature, "restart", 71, 1, "system", 32, "int");
+ tdesc_create_reg (feature, "restart", 72, 1, "system", 32, "int");
tdesc_mips_linux = result;
}
diff --git a/gdb/features/mips64-cpu.xml b/gdb/features/mips64-cpu.xml
index 13e6471..1450e82 100644
--- a/gdb/features/mips64-cpu.xml
+++ b/gdb/features/mips64-cpu.xml
@@ -7,7 +7,7 @@
<!DOCTYPE feature SYSTEM "gdb-target.dtd">
<feature name="org.gnu.gdb.mips.cpu">
- <reg name="r0" bitsize="64"/>
+ <reg name="r0" bitsize="64" regnum="0"/>
<reg name="r1" bitsize="64"/>
<reg name="r2" bitsize="64"/>
<reg name="r3" bitsize="64"/>
diff --git a/gdb/features/mips64-fpu.xml b/gdb/features/mips64-fpu.xml
index f79d33f..ac54abc 100644
--- a/gdb/features/mips64-fpu.xml
+++ b/gdb/features/mips64-fpu.xml
@@ -7,7 +7,7 @@
<!DOCTYPE feature SYSTEM "gdb-target.dtd">
<feature name="org.gnu.gdb.mips.fpu">
- <reg name="f0" bitsize="64" type="ieee_double"/>
+ <reg name="f0" bitsize="64" type="ieee_double" regnum="38"/>
<reg name="f1" bitsize="64" type="ieee_double"/>
<reg name="f2" bitsize="64" type="ieee_double"/>
<reg name="f3" bitsize="64" type="ieee_double"/>
diff --git a/gdb/features/mips64-linux.c b/gdb/features/mips64-linux.c
index 85c99a6b..f83c942 100644
--- a/gdb/features/mips64-linux.c
+++ b/gdb/features/mips64-linux.c
@@ -57,43 +57,43 @@ initialize_tdesc_mips64_linux (void)
tdesc_create_reg (feature, "cause", 36, 1, NULL, 64, "int");
feature = tdesc_create_feature (result, "org.gnu.gdb.mips.fpu");
- tdesc_create_reg (feature, "f0", 37, 1, NULL, 64, "ieee_double");
- tdesc_create_reg (feature, "f1", 38, 1, NULL, 64, "ieee_double");
- tdesc_create_reg (feature, "f2", 39, 1, NULL, 64, "ieee_double");
- tdesc_create_reg (feature, "f3", 40, 1, NULL, 64, "ieee_double");
- tdesc_create_reg (feature, "f4", 41, 1, NULL, 64, "ieee_double");
- tdesc_create_reg (feature, "f5", 42, 1, NULL, 64, "ieee_double");
- tdesc_create_reg (feature, "f6", 43, 1, NULL, 64, "ieee_double");
- tdesc_create_reg (feature, "f7", 44, 1, NULL, 64, "ieee_double");
- tdesc_create_reg (feature, "f8", 45, 1, NULL, 64, "ieee_double");
- tdesc_create_reg (feature, "f9", 46, 1, NULL, 64, "ieee_double");
- tdesc_create_reg (feature, "f10", 47, 1, NULL, 64, "ieee_double");
- tdesc_create_reg (feature, "f11", 48, 1, NULL, 64, "ieee_double");
- tdesc_create_reg (feature, "f12", 49, 1, NULL, 64, "ieee_double");
- tdesc_create_reg (feature, "f13", 50, 1, NULL, 64, "ieee_double");
- tdesc_create_reg (feature, "f14", 51, 1, NULL, 64, "ieee_double");
- tdesc_create_reg (feature, "f15", 52, 1, NULL, 64, "ieee_double");
- tdesc_create_reg (feature, "f16", 53, 1, NULL, 64, "ieee_double");
- tdesc_create_reg (feature, "f17", 54, 1, NULL, 64, "ieee_double");
- tdesc_create_reg (feature, "f18", 55, 1, NULL, 64, "ieee_double");
- tdesc_create_reg (feature, "f19", 56, 1, NULL, 64, "ieee_double");
- tdesc_create_reg (feature, "f20", 57, 1, NULL, 64, "ieee_double");
- tdesc_create_reg (feature, "f21", 58, 1, NULL, 64, "ieee_double");
- tdesc_create_reg (feature, "f22", 59, 1, NULL, 64, "ieee_double");
- tdesc_create_reg (feature, "f23", 60, 1, NULL, 64, "ieee_double");
- tdesc_create_reg (feature, "f24", 61, 1, NULL, 64, "ieee_double");
- tdesc_create_reg (feature, "f25", 62, 1, NULL, 64, "ieee_double");
- tdesc_create_reg (feature, "f26", 63, 1, NULL, 64, "ieee_double");
- tdesc_create_reg (feature, "f27", 64, 1, NULL, 64, "ieee_double");
- tdesc_create_reg (feature, "f28", 65, 1, NULL, 64, "ieee_double");
- tdesc_create_reg (feature, "f29", 66, 1, NULL, 64, "ieee_double");
- tdesc_create_reg (feature, "f30", 67, 1, NULL, 64, "ieee_double");
- tdesc_create_reg (feature, "f31", 68, 1, NULL, 64, "ieee_double");
- tdesc_create_reg (feature, "fcsr", 69, 1, "float", 64, "int");
- tdesc_create_reg (feature, "fir", 70, 1, "float", 64, "int");
+ tdesc_create_reg (feature, "f0", 38, 1, NULL, 64, "ieee_double");
+ tdesc_create_reg (feature, "f1", 39, 1, NULL, 64, "ieee_double");
+ tdesc_create_reg (feature, "f2", 40, 1, NULL, 64, "ieee_double");
+ tdesc_create_reg (feature, "f3", 41, 1, NULL, 64, "ieee_double");
+ tdesc_create_reg (feature, "f4", 42, 1, NULL, 64, "ieee_double");
+ tdesc_create_reg (feature, "f5", 43, 1, NULL, 64, "ieee_double");
+ tdesc_create_reg (feature, "f6", 44, 1, NULL, 64, "ieee_double");
+ tdesc_create_reg (feature, "f7", 45, 1, NULL, 64, "ieee_double");
+ tdesc_create_reg (feature, "f8", 46, 1, NULL, 64, "ieee_double");
+ tdesc_create_reg (feature, "f9", 47, 1, NULL, 64, "ieee_double");
+ tdesc_create_reg (feature, "f10", 48, 1, NULL, 64, "ieee_double");
+ tdesc_create_reg (feature, "f11", 49, 1, NULL, 64, "ieee_double");
+ tdesc_create_reg (feature, "f12", 50, 1, NULL, 64, "ieee_double");
+ tdesc_create_reg (feature, "f13", 51, 1, NULL, 64, "ieee_double");
+ tdesc_create_reg (feature, "f14", 52, 1, NULL, 64, "ieee_double");
+ tdesc_create_reg (feature, "f15", 53, 1, NULL, 64, "ieee_double");
+ tdesc_create_reg (feature, "f16", 54, 1, NULL, 64, "ieee_double");
+ tdesc_create_reg (feature, "f17", 55, 1, NULL, 64, "ieee_double");
+ tdesc_create_reg (feature, "f18", 56, 1, NULL, 64, "ieee_double");
+ tdesc_create_reg (feature, "f19", 57, 1, NULL, 64, "ieee_double");
+ tdesc_create_reg (feature, "f20", 58, 1, NULL, 64, "ieee_double");
+ tdesc_create_reg (feature, "f21", 59, 1, NULL, 64, "ieee_double");
+ tdesc_create_reg (feature, "f22", 60, 1, NULL, 64, "ieee_double");
+ tdesc_create_reg (feature, "f23", 61, 1, NULL, 64, "ieee_double");
+ tdesc_create_reg (feature, "f24", 62, 1, NULL, 64, "ieee_double");
+ tdesc_create_reg (feature, "f25", 63, 1, NULL, 64, "ieee_double");
+ tdesc_create_reg (feature, "f26", 64, 1, NULL, 64, "ieee_double");
+ tdesc_create_reg (feature, "f27", 65, 1, NULL, 64, "ieee_double");
+ tdesc_create_reg (feature, "f28", 66, 1, NULL, 64, "ieee_double");
+ tdesc_create_reg (feature, "f29", 67, 1, NULL, 64, "ieee_double");
+ tdesc_create_reg (feature, "f30", 68, 1, NULL, 64, "ieee_double");
+ tdesc_create_reg (feature, "f31", 69, 1, NULL, 64, "ieee_double");
+ tdesc_create_reg (feature, "fcsr", 70, 1, "float", 64, "int");
+ tdesc_create_reg (feature, "fir", 71, 1, "float", 64, "int");
feature = tdesc_create_feature (result, "org.gnu.gdb.mips.linux");
- tdesc_create_reg (feature, "restart", 71, 1, "system", 64, "int");
+ tdesc_create_reg (feature, "restart", 72, 1, "system", 64, "int");
tdesc_mips64_linux = result;
}