This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFC: Support target specific qSupported
On Wed, Feb 03, 2010 at 06:34:14AM -0800, H.J. Lu wrote:
> We have our own remote gdb stub, which needs to talk to both old gdb,
> which only understands SSE g/G packet, and new gdb, which understands
> AVX g/G packet. Does the target description support negotiation so
> that old gdb and new remote gdb stub can use SSE g/G packet?
The goal of target descriptions is to not need negotiation.
Everything is controlled by the target. But with older GDBs, because
x86 did not get target-described register support right away, there's
a problem.
I suggest adding something to the GDB-side qSupported packet saying
that AVX is OK. You don't need anything on the stub side of the
qSupported reply; you just need to reply to qXfer:features.
--
Daniel Jacobowitz
CodeSourcery