diff options
author | Yao Qi <yao.qi@linaro.org> | 2017-10-13 15:28:10 +0100 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2017-10-13 15:28:10 +0100 |
commit | 4bf3f4a810813214213ad4f7d869eb24e79d77af (patch) | |
tree | 3e05fa6d02435dc464a043f3eff8831cc27a5bae | |
parent | 354bac403e9a19bbbfb676d854db5f11f0e84c27 (diff) | |
download | gdb-4bf3f4a810813214213ad4f7d869eb24e79d77af.zip gdb-4bf3f4a810813214213ad4f7d869eb24e79d77af.tar.gz gdb-4bf3f4a810813214213ad4f7d869eb24e79d77af.tar.bz2 |
Regenerate features/s390-gs-linux64.c and features/s390x-gs-linux64.c
gdb:
2017-10-13 Yao Qi <yao.qi@linaro.org>
* features/s390-gs-linux64.c: Regenerated.
* features/s390x-gs-linux64.c: Regenerated.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/features/s390-gs-linux64.c | 8 | ||||
-rw-r--r-- | gdb/features/s390x-gs-linux64.c | 8 |
3 files changed, 13 insertions, 8 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b868a1d..e341e34 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2017-10-13 Yao Qi <yao.qi@linaro.org> + + * features/s390-gs-linux64.c: Regenerated. + * features/s390x-gs-linux64.c: Regenerated. + 2017-10-13 Tom Tromey <tom@tromey.com> * compile/compile-object-run.c (do_module_cleanup): Use delete. diff --git a/gdb/features/s390-gs-linux64.c b/gdb/features/s390-gs-linux64.c index ce24799..39e7043 100644 --- a/gdb/features/s390-gs-linux64.c +++ b/gdb/features/s390-gs-linux64.c @@ -10,12 +10,10 @@ static void initialize_tdesc_s390_gs_linux64 (void) { struct target_desc *result = allocate_target_description (); - struct tdesc_feature *feature; - struct tdesc_type *field_type; - struct tdesc_type *type; - set_tdesc_architecture (result, bfd_scan_arch ("s390:31-bit")); + struct tdesc_feature *feature; + feature = tdesc_create_feature (result, "org.gnu.gdb.s390.core"); tdesc_create_reg (feature, "pswm", 0, 1, "psw", 32, "uint32"); tdesc_create_reg (feature, "pswa", 1, 1, "psw", 32, "uint32"); @@ -117,6 +115,7 @@ initialize_tdesc_s390_gs_linux64 (void) tdesc_create_reg (feature, "tr15", 89, 1, "tdb", 64, "uint64"); feature = tdesc_create_feature (result, "org.gnu.gdb.s390.vx"); + struct tdesc_type *field_type; field_type = tdesc_named_type (feature, "ieee_single"); tdesc_create_vector (feature, "v4f", field_type, 4); @@ -135,6 +134,7 @@ initialize_tdesc_s390_gs_linux64 (void) field_type = tdesc_named_type (feature, "int64"); tdesc_create_vector (feature, "v2i64", field_type, 2); + struct tdesc_type *type; type = tdesc_create_union (feature, "vec128"); field_type = tdesc_named_type (feature, "v4f"); tdesc_add_field (type, "v4_float", field_type); diff --git a/gdb/features/s390x-gs-linux64.c b/gdb/features/s390x-gs-linux64.c index c101fd8..652e6cf 100644 --- a/gdb/features/s390x-gs-linux64.c +++ b/gdb/features/s390x-gs-linux64.c @@ -10,12 +10,10 @@ static void initialize_tdesc_s390x_gs_linux64 (void) { struct target_desc *result = allocate_target_description (); - struct tdesc_feature *feature; - struct tdesc_type *field_type; - struct tdesc_type *type; - set_tdesc_architecture (result, bfd_scan_arch ("s390:64-bit")); + struct tdesc_feature *feature; + feature = tdesc_create_feature (result, "org.gnu.gdb.s390.core"); tdesc_create_reg (feature, "pswm", 0, 1, "psw", 64, "uint64"); tdesc_create_reg (feature, "pswa", 1, 1, "psw", 64, "uint64"); @@ -101,6 +99,7 @@ initialize_tdesc_s390x_gs_linux64 (void) tdesc_create_reg (feature, "tr15", 73, 1, "tdb", 64, "uint64"); feature = tdesc_create_feature (result, "org.gnu.gdb.s390.vx"); + struct tdesc_type *field_type; field_type = tdesc_named_type (feature, "ieee_single"); tdesc_create_vector (feature, "v4f", field_type, 4); @@ -119,6 +118,7 @@ initialize_tdesc_s390x_gs_linux64 (void) field_type = tdesc_named_type (feature, "int64"); tdesc_create_vector (feature, "v2i64", field_type, 2); + struct tdesc_type *type; type = tdesc_create_union (feature, "vec128"); field_type = tdesc_named_type (feature, "v4f"); tdesc_add_field (type, "v4_float", field_type); |