From 3966e1906c7b0689cacba9954d0f5d87c3b6bb27 Mon Sep 17 00:00:00 2001 From: "Maciej W. Rozycki" Date: Tue, 4 Dec 2007 15:41:46 +0000 Subject: [PATCH] * 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. --- gdb/ChangeLog | 9 +++++ gdb/features/mips-cpu.xml | 2 +- gdb/features/mips-fpu.xml | 2 +- gdb/features/mips-linux.c | 70 ++++++++++++++++++------------------- gdb/features/mips64-cpu.xml | 2 +- gdb/features/mips64-fpu.xml | 2 +- gdb/features/mips64-linux.c | 70 ++++++++++++++++++------------------- 7 files changed, 83 insertions(+), 74 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 54aec11b38a..d3256ec852a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,12 @@ +2007-12-04 Maciej W. Rozycki + + * 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 * target.h (target_find_new_threads): Fix definition. diff --git a/gdb/features/mips-cpu.xml b/gdb/features/mips-cpu.xml index ea285dd9f74..5df48cd1b9b 100644 --- a/gdb/features/mips-cpu.xml +++ b/gdb/features/mips-cpu.xml @@ -7,7 +7,7 @@ - + diff --git a/gdb/features/mips-fpu.xml b/gdb/features/mips-fpu.xml index 6fb5452086c..a00acc3221c 100644 --- a/gdb/features/mips-fpu.xml +++ b/gdb/features/mips-fpu.xml @@ -7,7 +7,7 @@ - + diff --git a/gdb/features/mips-linux.c b/gdb/features/mips-linux.c index 51785e46053..fb5b07403ed 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 13e647150f9..1450e8283f9 100644 --- a/gdb/features/mips64-cpu.xml +++ b/gdb/features/mips64-cpu.xml @@ -7,7 +7,7 @@ - + diff --git a/gdb/features/mips64-fpu.xml b/gdb/features/mips64-fpu.xml index f79d33fe883..ac54abc13a6 100644 --- a/gdb/features/mips64-fpu.xml +++ b/gdb/features/mips64-fpu.xml @@ -7,7 +7,7 @@ - + diff --git a/gdb/features/mips64-linux.c b/gdb/features/mips64-linux.c index 85c99a6b600..f83c942a804 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; } -- 2.30.2