This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PING][PATCH] Add support for accessing VFP registers to ARM native Linux
- From: Daniel Jacobowitz <dan at codesourcery dot com>
- To: Matthew Gretton-Dann <matthew dot gretton-dann at arm dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 19 Mar 2010 09:02:09 -0400
- Subject: Re: [PING][PATCH] Add support for accessing VFP registers to ARM native Linux
- References: <1268664534.12300.0.camel@e102111-lin.cambridge.arm.com>
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