From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25741 invoked by alias); 15 Jul 2014 12:07:42 -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 25707 invoked by uid 89); 15 Jul 2014 12:07:37 -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:07:35 +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:07:31 +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:07:28 +0100 Received: from b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id 5E15517D8056 for ; Tue, 15 Jul 2014 13:09:04 +0100 (BST) Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com [9.149.37.228]) by b06cxnps3074.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id s6FC7RAe35979450 for ; Tue, 15 Jul 2014 12:07:28 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 s6FC7QET018827 for ; Tue, 15 Jul 2014 06:07:27 -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 s6FC7Oob018694; Tue, 15 Jul 2014 06:07:24 -0600 Message-Id: <201407151207.s6FC7Oob018694@d06av02.portsmouth.uk.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Tue, 15 Jul 2014 14:07:24 +0200 Subject: Re: [PATCH v2 12/13] M68K Linux: Define regset structures. To: arnez@linux.vnet.ibm.com (Andreas Arnez) Date: Tue, 15 Jul 2014 12:13:00 -0000 From: "Ulrich Weigand" Cc: gdb-patches@sourceware.org, schwab@linux-m68k.org (Andreas Schwab) In-Reply-To: <1403714949-28133-13-git-send-email-arnez@linux.vnet.ibm.com> from "Andreas Arnez" at Jun 25, 2014 06:49:08 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-000000875612 X-SW-Source: 2014-07/txt/msg00370.txt.bz2 Andreas Arnez wrote: > +static const struct regcache_map_entry m68k_linux_fpregmap[] = > + { > + { 8, M68K_FP0_REGNUM }, /* fp0 ... fp7 */ > + { 1, M68K_FPC_REGNUM }, > + { 1, M68K_FPS_REGNUM }, > + { 1, M68K_FPI_REGNUM }, > + { 0 } > + }; > + > +#define M68K_LINUX_FPREGS_SIZE (27 * 4) Hmm. Not sure what happens on m68k_coldfire_flavour, where the GDB FP registers have builtin_double type (i.e. 8 instead of 12 bytes). On the other hand, the current m68klinux-nat.c supply_fpregset doesn't make any provisions for that case either ... is coldfire supported on Linux at all? Bye, Ulrich -- Dr. Ulrich Weigand GNU/Linux compilers and toolchain Ulrich.Weigand@de.ibm.com