From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18264 invoked by alias); 8 Feb 2013 11:51:59 -0000 Received: (qmail 18250 invoked by uid 22791); 8 Feb 2013 11:51:58 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_SPAMHAUS_DROP,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from service87.mimecast.com (HELO service87.mimecast.com) (91.220.42.44) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 08 Feb 2013 11:51:44 +0000 Received: from cam-owa1.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.21]) by service87.mimecast.com; Fri, 08 Feb 2013 11:51:43 +0000 Received: from [10.1.69.62] ([10.1.255.212]) by cam-owa1.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.0); Fri, 8 Feb 2013 11:51:42 +0000 Message-ID: <5114E6CD.5010102@arm.com> Date: Fri, 08 Feb 2013 11:51:00 -0000 From: Yufeng Zhang User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: "gdb-patches@sourceware.org" CC: Marcus Shawcroft Subject: [PATCH, AArch64] Update the gregset size X-MC-Unique: 113020811514301001 Content-Type: multipart/mixed; boundary="------------040405030305030404070104" X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2013-02/txt/msg00206.txt.bz2 This is a multi-part message in MIME format. --------------040405030305030404070104 Content-Type: text/plain; charset=WINDOWS-1252; format=flowed Content-Transfer-Encoding: quoted-printable Content-length: 340 Hi, Following the recent bug fix in the AArch64 kernel, this patch updates=20 the expected size of the general register set in core dump file. OK to commit? Thanks, Yufeng gdb/ 2013-02-08 Yufeng Zhang * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET): Change the number of the registers from 36 to 34.= --------------040405030305030404070104 Content-Type: text/x-patch; name=aarch64-correct-gregset-size-gdb.patch Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="aarch64-correct-gregset-size-gdb.patch" Content-length: 740 diff --git a/gdb/aarch64-linux-tdep.c b/gdb/aarch64-linux-tdep.c index 3055a0a..8e66425 100644 --- a/gdb/aarch64-linux-tdep.c +++ b/gdb/aarch64-linux-tdep.c @@ -36,9 +36,9 @@ #include "regset.h" =20 /* The general-purpose regset consists of 31 X registers, plus SP, PC, - PSTATE and two extra pseudo 64-bit registers, as defined in the - AArch64 port of the Linux kernel. */ -#define AARCH64_LINUX_SIZEOF_GREGSET (36 * X_REGISTER_SIZE) + and PSTATE registers, as defined in the AArch64 port of the Linux + kernel. */ +#define AARCH64_LINUX_SIZEOF_GREGSET (34 * X_REGISTER_SIZE) =20 /* The fp regset consists of 32 V registers, plus FPCR and FPSR which are 4 bytes wide each, and the whole structure is padded to 128 bit= --------------040405030305030404070104--