From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18943 invoked by alias); 15 Jun 2011 16:44:46 -0000 Received: (qmail 18927 invoked by uid 22791); 15 Jun 2011 16:44:45 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,MSGID_FROM_MTA_HEADER,TW_GB,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mtagate7.uk.ibm.com (HELO mtagate7.uk.ibm.com) (194.196.100.167) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 15 Jun 2011 16:44:21 +0000 Received: from d06nrmr1507.portsmouth.uk.ibm.com (d06nrmr1507.portsmouth.uk.ibm.com [9.149.38.233]) by mtagate7.uk.ibm.com (8.13.1/8.13.1) with ESMTP id p5FGiJhZ021913; Wed, 15 Jun 2011 16:44:19 GMT Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com [9.149.37.228]) by d06nrmr1507.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p5FGiJNl2388040; Wed, 15 Jun 2011 17:44:19 +0100 Received: from d06av02.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p5FGiI0E018119; Wed, 15 Jun 2011 10:44:19 -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.13.1/NCO v10.0 AVin) with SMTP id p5FGiHYb018103; Wed, 15 Jun 2011 10:44:17 -0600 Message-Id: <201106151644.p5FGiHYb018103@d06av02.portsmouth.uk.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Wed, 15 Jun 2011 18:44:17 +0200 Subject: Re: [rfc/rfa] VFP/NEON register set support for ARM core files To: amodra@gmail.com (Alan Modra) Date: Wed, 15 Jun 2011 16:44:00 -0000 From: "Ulrich Weigand" Cc: gdb-patches@sourceware.org, binutils@sourceware.org, patches@linaro.org, dave.martin@linaro.org, will.deacon@arm.com In-Reply-To: <20110406030027.GL19002@bubble.grove.modra.org> from "Alan Modra" at Apr 06, 2011 12:30:27 PM MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: 2011-06/txt/msg00218.txt.bz2 Alan Modra wrote: > On Tue, Apr 05, 2011 at 08:50:14PM +0200, Ulrich Weigand wrote: > > * elf-bfd.h (elfcore_write_arm_vfp): Add prototype. > > * elf.c (elfcore_grok_arm_vfp): New function. > > (elfcore_grok_note): Call it to handle NT_ARM_VFP notes. > > (elfcore_write_arm_vfp): New function. > > (elfcore_write_register_note): Call it to handle .reg-arm-vfp. > > Looks OK to me. The kernel parts have now been accepted (and will be available with 3.0), so I've committed the binutils and gbd parts as well. Note that I had originally forgotten to update readelf to properly display the new note type; the version I've committed includes this part as well (see additional patch below). Thanks, Ulrich ChangeLog: binutils/ * readelf.c (get_note_type): Handle NT_ARM_VFP. Index: binutils/readelf.c =================================================================== RCS file: /cvs/src/src/binutils/readelf.c,v retrieving revision 1.547 diff -u -p -r1.547 readelf.c --- binutils/readelf.c 13 Jun 2011 15:18:53 -0000 1.547 +++ binutils/readelf.c 15 Jun 2011 15:00:37 -0000 @@ -12284,6 +12284,8 @@ get_note_type (unsigned e_type) return _("NT_S390_CTRS (s390 control registers)"); case NT_S390_PREFIX: return _("NT_S390_PREFIX (s390 prefix register)"); + case NT_ARM_VFP: + return _("NT_ARM_VFP (arm VFP registers)"); case NT_PSTATUS: return _("NT_PSTATUS (pstatus structure)"); case NT_FPREGS: -- Dr. Ulrich Weigand GNU Toolchain for Linux on System z and Cell BE Ulrich.Weigand@de.ibm.com