This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PING][PATCH] Add support for accessing VFP registers to ARM native Linux


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]