diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2007-12-04 15:41:46 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@linux-mips.org> | 2007-12-04 15:41:46 +0000 |
commit | 3966e1906c7b0689cacba9954d0f5d87c3b6bb27 (patch) | |
tree | 31f73d00728776df23a703016f32782226257c25 /gdb/features | |
parent | 4becf47ce77f8c51564e2a3b7306b628420c4593 (diff) | |
download | gdb-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.
Diffstat (limited to 'gdb/features')
-rw-r--r-- | gdb/features/mips-cpu.xml | 2 | ||||
-rw-r--r-- | gdb/features/mips-fpu.xml | 2 | ||||
-rw-r--r-- | gdb/features/mips-linux.c | 70 | ||||
-rw-r--r-- | gdb/features/mips64-cpu.xml | 2 | ||||
-rw-r--r-- | gdb/features/mips64-fpu.xml | 2 | ||||
-rw-r--r-- | gdb/features/mips64-linux.c | 70 |
6 files changed, 74 insertions, 74 deletions
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; } |