From patchwork Thu May 11 15:55:01 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yao Qi X-Patchwork-Id: 20409 Received: (qmail 96914 invoked by alias); 11 May 2017 15:55:14 -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 96619 invoked by uid 89); 11 May 2017 15:55:13 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-23.9 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.3.2 spammy=1329 X-HELO: mail-pg0-f50.google.com Received: from mail-pg0-f50.google.com (HELO mail-pg0-f50.google.com) (74.125.83.50) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 11 May 2017 15:55:12 +0000 Received: by mail-pg0-f50.google.com with SMTP id u28so16670060pgn.1 for ; Thu, 11 May 2017 08:55:14 -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:subject:date:message-id:in-reply-to :references; bh=CbpUyxOsCrYVSgNxsKtU/uQ6Isn3aFof2M8ND1thz7o=; b=GzNSsYLQjJ0TbLdNYs7joIwQ5QOD9hktK92XtQMK+F/TSiBsaY3gbhlfMbGp58QRh0 YlE17ZFzGRNTQ1Sfxn4pXBRmnvc5zAie3JWOK86l292UZHUbiOF+3CcLeOmLvfMLifrZ CU5cx7z9RIOl9+zjbzRsUTAWQfr9E0yeL/glJmicLQt5quiMm/fVEMQ9yLCwkQlQmzS9 vBsOdDvEJxTuadBGZbAYZTjNCBHUhJqYhmDaR4WCnnxkb8sWWeQtx4uc66+WjHWsDJLm iy+GcUCBS/lq8a9lKObSWQDyYS6IpL1I+IO6+Etp+u62nqOI6PBR3pqqQQcHKMwtJhTK tBTg== X-Gm-Message-State: AODbwcAOwMxkJaeP2VrOq+ssX0r30NdTzDcD3fQqStoYIoM+FTPh1hVm XMi5F/gf5LRjWgOf X-Received: by 10.99.7.196 with SMTP id 187mr1121750pgh.226.1494518113390; Thu, 11 May 2017 08:55:13 -0700 (PDT) Received: from E107787-LIN.cambridge.arm.com (gcc1-power7.osuosl.org. [140.211.15.137]) by smtp.gmail.com with ESMTPSA id f27sm1021158pga.41.2017.05.11.08.55.12 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 11 May 2017 08:55:13 -0700 (PDT) From: Yao Qi X-Google-Original-From: Yao Qi To: gdb-patches@sourceware.org Subject: [RFC 3/7] Adjust the order of 32bit-linux.xml and 32bit-sse.xml in i386/i386-linux.xml Date: Thu, 11 May 2017 16:55:01 +0100 Message-Id: <1494518105-15412-4-git-send-email-yao.qi@linaro.org> In-Reply-To: <1494518105-15412-1-git-send-email-yao.qi@linaro.org> References: <1494518105-15412-1-git-send-email-yao.qi@linaro.org> X-IsSubscribed: yes Exchange the order of 32bit-linux.xml and 32bit-sse.xml in i386/i386-linux.xml, to align with other i386 linux .xml files. gdb: 2017-04-27 Yao Qi * features/i386/i386-linux.xml: Exchange the order of including 32bit-linux.xml and 32bit-sse.xml. * features/i386/i386-linux.c: Regenerated. --- gdb/features/i386/i386-linux.c | 6 +++--- gdb/features/i386/i386-linux.xml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gdb/features/i386/i386-linux.c b/gdb/features/i386/i386-linux.c index 39328af..649dcd6 100644 --- a/gdb/features/i386/i386-linux.c +++ b/gdb/features/i386/i386-linux.c @@ -71,9 +71,6 @@ initialize_tdesc_i386_linux (void) tdesc_create_reg (feature, "fooff", 30, 1, "float", 32, "int"); tdesc_create_reg (feature, "fop", 31, 1, "float", 32, "int"); - feature = tdesc_create_feature (result, "org.gnu.gdb.i386.linux"); - tdesc_create_reg (feature, "orig_eax", 41, 1, NULL, 32, "int"); - feature = tdesc_create_feature (result, "org.gnu.gdb.i386.sse"); field_type = tdesc_named_type (feature, "ieee_single"); tdesc_create_vector (feature, "v4f", field_type, 4); @@ -135,6 +132,9 @@ initialize_tdesc_i386_linux (void) tdesc_create_reg (feature, "xmm7", 39, 1, NULL, 128, "vec128"); tdesc_create_reg (feature, "mxcsr", 40, 1, "vector", 32, "i386_mxcsr"); + feature = tdesc_create_feature (result, "org.gnu.gdb.i386.linux"); + tdesc_create_reg (feature, "orig_eax", 41, 1, NULL, 32, "int"); + tdesc_i386_linux = result; #if GDB_SELF_TEST selftests::record_xml_tdesc ("i386/i386-linux.xml", tdesc_i386_linux); diff --git a/gdb/features/i386/i386-linux.xml b/gdb/features/i386/i386-linux.xml index f9aa311..17f9a1a 100644 --- a/gdb/features/i386/i386-linux.xml +++ b/gdb/features/i386/i386-linux.xml @@ -12,6 +12,6 @@ i386 GNU/Linux - +