From patchwork Fri Oct 13 14:27:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yao Qi X-Patchwork-Id: 23544 Received: (qmail 63842 invoked by alias); 13 Oct 2017 14:27:46 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 63832 invoked by uid 89); 13 Oct 2017 14:27:45 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-23.6 required=5.0 tests=BAYES_00, FREEMAIL_FROM, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_SPAM, SPF_PASS, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.3.2 spammy=HX-Received:10.80.163.140, H*r:sk:static. X-HELO: mail-wm0-f67.google.com Received: from mail-wm0-f67.google.com (HELO mail-wm0-f67.google.com) (74.125.82.67) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 13 Oct 2017 14:27:44 +0000 Received: by mail-wm0-f67.google.com with SMTP id i124so21732133wmf.3 for ; Fri, 13 Oct 2017 07:27:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=4JKaq47yUIG92n0x05lxhX9jdrfQ41s9G6RDqwkcNeY=; b=KiPvi7KFsioJBrrytaY7GLuq1HivP83RkpCWm0tkkIsbzh+vXba+OoeWnPu4TEt7qf 5RB5mRa/5KMBAKO4+BeA8Ea7kGZ2TuMWKHBzAX2GIHe1O3xz6ekElAHlMAP0TawUQbtA T87cuXPLLP0qJPQsyG27YtFhd3QbRwRTr5iFGf8/N5ZZLv3LT+9NYGw9qAupUvQ2QLx6 3kmq0zLms/6rU5aMqjk9NukiVy/THWAfiyVtcs5sbisRydVkDm7POolqyUnvd+yW3t1S pfQ8v8KjXUor2POeNRlXT4Xb/2qek+aMwVv3nmUi4Ej0hSHJ1tQSo8pJGY0Ug3u/dY3K DaaQ== X-Gm-Message-State: AMCzsaW/syhLGhK/jtC4q1nmqOpcXuYo00QxP+Iw0SNYKHVqbVcBkepR 0Oua2QYm6iE1+3hg66RgBOiKJw== X-Google-Smtp-Source: AOwi7QCnjgO5AZ2yOhH94BLa3tH9IL0z+6aT8es3uuE8jb9347u5V7e2nv3ArYylO23Fjittd0nAqg== X-Received: by 10.80.163.140 with SMTP id s12mr2366977edb.22.1507904862063; Fri, 13 Oct 2017 07:27:42 -0700 (PDT) Received: from E107787-LIN.cambridge.arm.com (static.42.136.251.148.clients.your-server.de. [148.251.136.42]) by smtp.gmail.com with ESMTPSA id v17sm938136eda.70.2017.10.13.07.27.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 13 Oct 2017 07:27:41 -0700 (PDT) From: Yao Qi X-Google-Original-From: Yao Qi To: gdb-patches@sourceware.org Cc: arnez@linux.vnet.ibm.com Subject: [PATCH OBV] Regenerate features/s390-gs-linux64.c and features/s390x-gs-linux64.c Date: Fri, 13 Oct 2017 15:27:37 +0100 Message-Id: <1507904857-18853-1-git-send-email-yao.qi@linaro.org> X-IsSubscribed: yes I'll pushed it in. gdb: 2017-10-13 Yao Qi * features/s390-gs-linux64.c: Regenerated. * features/s390x-gs-linux64.c: Regenerated. --- gdb/ChangeLog | 5 +++++ gdb/features/s390-gs-linux64.c | 8 ++++---- 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 + + * features/s390-gs-linux64.c: Regenerated. + * features/s390x-gs-linux64.c: Regenerated. + 2017-10-13 Tom Tromey * 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);