From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27480 invoked by alias); 19 Mar 2010 13:02:23 -0000 Received: (qmail 27410 invoked by uid 22791); 19 Mar 2010 13:02:22 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 19 Mar 2010 13:02:13 +0000 Received: (qmail 1597 invoked from network); 19 Mar 2010 13:02:11 -0000 Received: from unknown (HELO caradoc.them.org) (dan@127.0.0.2) by mail.codesourcery.com with ESMTPA; 19 Mar 2010 13:02:11 -0000 Date: Fri, 19 Mar 2010 13:02:00 -0000 From: Daniel Jacobowitz To: Matthew Gretton-Dann Cc: gdb-patches@sourceware.org Subject: Re: [PING][PATCH] Add support for accessing VFP registers to ARM native Linux Message-ID: <20100319130209.GB12263@caradoc.them.org> Mail-Followup-To: Matthew Gretton-Dann , gdb-patches@sourceware.org References: <1268664534.12300.0.camel@e102111-lin.cambridge.arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1268664534.12300.0.camel@e102111-lin.cambridge.arm.com> User-Agent: Mutt/1.5.20 (2009-06-14) 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: 2010-03/txt/msg00729.txt.bz2 On Mon, Mar 15, 2010 at 02:48:54PM +0000, Matthew Gretton-Dann wrote: > +/* Copy LEN bytes from inferior's auxiliary vector starting at OFFSET > + to debugger memory starting at MYADDR. */ > + > +static int > +arm_read_auxv(int offset, unsigned char *myaddr, unsigned int len) In GDB you just need: target_auxv_search (current_target, AT_HWCAP, &val); Looks otherwise fine to me too. Sorry for the delay. -- Daniel Jacobowitz CodeSourcery