This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
ping, Re: [Patch] Recognise additional Aux Vector content provided by SH and Alpha.
- From: Iain Sandoe <iain at codesourcery dot com>
- To: <gdb-patches at sourceware dot org>
- Cc: Kevin Buettner <kevinb at redhat dot com>, Kaz Kojima <kkojima at rr dot iij4u dot or dot jp>
- Date: Fri, 22 Jun 2012 14:37:26 +0100
- Subject: ping, Re: [Patch] Recognise additional Aux Vector content provided by SH and Alpha.
- References: <EE1B32AA-F9FC-422E-81B9-A6D6E4F434BD@codesourcery.com>
The binutils component of this has been approved, ping for the GDB part.
thanks
Iain
On 12 Jun 2012, at 16:16, Iain Sandoe wrote:
> Since SH (and Alpha) define a set of extended cache descriptor tags for auxv , we currently get several test suite failures in gdb.base/auxv.exp like so:
>
> WARNING: Unrecognized tag value: 34 ??? 0x8054
> ... etc.
>
> ---
>
> The following patch adds defines for these additional tags to elf, and recognises them in GDB.
>
> giving, on sh-linux-gnu:
>
> 34 AT_L1I_CACHESHAPE L1 Instruction cache information 0x8054
> 35 AT_L1D_CACHESHAPE L1 Data cache information 0x8054
> 36 AT_L2_CACHESHAPE L2 cache information 0xffffffff
>
> ---
>
> tested with sh-linux-gnu target (and for binutils --enable-targets=all).
> not tested on Alpha.
>
> OK for trunk?
> Iain
>
>
> include/elf:
>
> * common.h (AT_L1I_CACHESHAPE, AT_L1D_CACHESHAPE,
> AT_L2_CACHESHAPE, AT_L3_CACHESHAPE): New defines.
>
> gdb:
>
> * auxv.c (fprint_target_auxv): Handle extended cache data tags.
http://sourceware.org/ml/gdb-patches/2012-06/msg00352.html