This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFC: Support target specific qSupported
- From: Daniel Jacobowitz <dan at codesourcery dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: GDB <gdb-patches at sourceware dot org>
- Date: Wed, 3 Feb 2010 08:58:53 -0500
- Subject: Re: RFC: Support target specific qSupported
- References: <20100203040339.GA24984@lucon.org>
On Tue, Feb 02, 2010 at 08:03:39PM -0800, H.J. Lu wrote:
> Hi,
>
> Intel AVX has 256bit YMM registers. XMM registers from SSE are the
> aliases of the lower 128bit YMM registers. gdbserver on AVX machine
> may use 256bit vector registers, instead of 128bit vector registers,
> in the g/G packet. When gdb talks to gdbserver, they need to negotiate
> to find out the maxium common register size supported by both gdb and
> gdbserver. I added `x86:xstate=BYTES:xcr0=VALUE' to qSupported:
Have you seen the Target Descriptions chapter in the manual? This is
exactly what it was designed to do.
You'll need a new gdb to talk to the new gdbserver (older ones will
give a warning on connect), but that's generally acceptable.
--
Daniel Jacobowitz
CodeSourcery