From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13513 invoked by alias); 15 Jul 2014 12:30:44 -0000 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 Received: (qmail 13496 invoked by uid 89); 15 Jul 2014 12:30:43 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,MSGID_FROM_MTA_HEADER,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: e06smtp13.uk.ibm.com Received: from e06smtp13.uk.ibm.com (HELO e06smtp13.uk.ibm.com) (195.75.94.109) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Tue, 15 Jul 2014 12:30:42 +0000 Received: from /spool/local by e06smtp13.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 15 Jul 2014 13:30:39 +0100 Received: from d06dlp01.portsmouth.uk.ibm.com (9.149.20.13) by e06smtp13.uk.ibm.com (192.168.101.143) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 15 Jul 2014 13:30:36 +0100 Received: from b06cxnps4075.portsmouth.uk.ibm.com (d06relay12.portsmouth.uk.ibm.com [9.149.109.197]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id 9180217D805A for ; Tue, 15 Jul 2014 13:32:12 +0100 (BST) Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com [9.149.37.228]) by b06cxnps4075.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id s6FCUacr26083386 for ; Tue, 15 Jul 2014 12:30:36 GMT Received: from d06av02.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s6FCUYtn017259 for ; Tue, 15 Jul 2014 06:30:35 -0600 Received: from tuxmaker.boeblingen.de.ibm.com (tuxmaker.boeblingen.de.ibm.com [9.152.85.9]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with SMTP id s6FCUXER017208; Tue, 15 Jul 2014 06:30:33 -0600 Message-Id: <201407151230.s6FCUXER017208@d06av02.portsmouth.uk.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Tue, 15 Jul 2014 14:30:33 +0200 Subject: Re: [PATCH v2 13/13] IA64 Linux: Define regset structures. To: arnez@linux.vnet.ibm.com (Andreas Arnez) Date: Tue, 15 Jul 2014 13:01:00 -0000 From: "Ulrich Weigand" Cc: gdb-patches@sourceware.org, jjohnstn@redhat.com (Jeff Johnston) In-Reply-To: <1403714949-28133-14-git-send-email-arnez@linux.vnet.ibm.com> from "Andreas Arnez" at Jun 25, 2014 06:49:09 PM MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 14071512-2966-0000-0000-000000876D04 X-SW-Source: 2014-07/txt/msg00373.txt.bz2 Andreas Arnez wrote: > +static const struct regcache_map_entry ia64_linux_gregmap[] = > + { > + { 32, IA64_GR0_REGNUM }, /* r0 ... r31 */ > + { 8, REGCACHE_MAP_SKIP_BYTES }, /* FIXME: NAT collection bits? */ > + { 1, IA64_PR_REGNUM }, > + { 8, IA64_BR0_REGNUM }, /* b0 ... b7 */ > + { 1, IA64_IP_REGNUM }, > + { 1, IA64_CFM_REGNUM }, > + { 1, IA64_PSR_REGNUM }, > + { 1, IA64_RSC_REGNUM }, > + { 1, IA64_BSP_REGNUM }, > + { 1, IA64_BSPSTORE_REGNUM }, > + { 1, IA64_RNAT_REGNUM }, > + { 1, IA64_CCV_REGNUM }, > + { 1, IA64_UNAT_REGNUM }, > + { 1, IA64_FPSR_REGNUM }, > + { 1, IA64_PFS_REGNUM }, > + { 1, IA64_LC_REGNUM }, > + { 1, IA64_EC_REGNUM }, > + { 0 } > + }; > + > +#define IA64_LINUX_GREGS_SIZE (55 * 8) If I'm reading the kernel sources correctly, the core file note will actually contain 128 register slots. > +static const struct regcache_map_entry ia64_linux_fpregmap[] = > + { > + { 128, IA64_FR0_REGNUM }, /* f0 ... f127 */ > + { 0 } > + }; > + > +#define IA64_LINUX_FPREGS_SIZE (128 * 8) The size of one FP register should be 16 bytes, not 8. Bye, Ulrich -- Dr. Ulrich Weigand GNU/Linux compilers and toolchain Ulrich.Weigand@de.ibm.com