From patchwork Mon Jun 12 08:41:33 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yao Qi X-Patchwork-Id: 20917 Received: (qmail 69522 invoked by alias); 12 Jun 2017 08:42:03 -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 69178 invoked by uid 89); 12 Jun 2017 08:42:01 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-24.1 required=5.0 tests=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=1355, H*r:sk:static. X-HELO: mail-it0-f52.google.com Received: from mail-it0-f52.google.com (HELO mail-it0-f52.google.com) (209.85.214.52) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 12 Jun 2017 08:41:59 +0000 Received: by mail-it0-f52.google.com with SMTP id m47so20568334iti.1 for ; Mon, 12 Jun 2017 01:42:03 -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=Kdi5aYV5sgsB4BzBjAjrXZnlURG6sCTr3dU5yW32onM=; b=IJVUsHsDP9B0vXEISonb/dMGNqQ4Q6W8WCve0e0cg3qwCDfDSMD1zAL7/pSnsv2U/6 IhKDqt8WwnfxYfadmSzpeZ4t/Zs42D/HPoIU1RL4Z3F91B0L3VwaBCKNC/RZoP3EqVkD GlK0NX86LRP2C+6RhdKia+yvYHAvMOiQnoHczTQ8FZsDJDMJQdpwZR14PPrt13TpICg9 D5UfJlIhe9ekoEPgpVV0hxsidJpnvXYx2UaT9HXmYPOsj+/O5h2dEknDRF7ES82iK2wK AIV6jSmNOA1soBuLg3PeASZq43N3KPanpWaoT9cz3OunUkBc7dpAXQXWIbhO+6g8IQ+M Bc5g== X-Gm-Message-State: AODbwcB82F5FU+dlCbkW7FfcPqfQrRd/uzfvbqkVH+7M+JdPqEcnAsMP 3FH38oht6KVPzyWM X-Received: by 10.36.108.131 with SMTP id w125mr11036581itb.91.1497256921915; Mon, 12 Jun 2017 01:42:01 -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 u4sm5280289itu.1.2017.06.12.01.42.00 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 12 Jun 2017 01:42:01 -0700 (PDT) From: Yao Qi X-Google-Original-From: Yao Qi To: gdb-patches@sourceware.org Subject: [PATCH 02/25] Adjust the order of 32bit-linux.xml and 32bit-sse.xml in i386/i386-linux.xml Date: Mon, 12 Jun 2017 09:41:33 +0100 Message-Id: <1497256916-4958-3-git-send-email-yao.qi@linaro.org> In-Reply-To: <1497256916-4958-1-git-send-email-yao.qi@linaro.org> References: <1497256916-4958-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 42c406b..c7796c3 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,5 +132,8 @@ 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; } 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 - +