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: [PATCH] Stop sending qTStatus if the target doesn't recognize it; add packet configuration command.


> From: Pedro Alves <palves@redhat.com>
> Date: Thu, 28 Mar 2013 19:11:48 +0000
> 
> GDB currently sends a qTStatus even if the target previously replied
> an empty packet to a previous qTStatus.  If the target doesn't
> recognize the packet, there's no point in trying again.
> 
> The machinery we have in place is packet_ok, which has the nice side
> effect of forcing one to install a configuration command/knob for the
> packet in question, which is often handy when you need to debug
> things, and/or emulate a target that doesn't support the packet, or even,
> it can be used as workaround for the old broken kgdb's that return error
> to qTSTatus instead of an empty packet.
> 
> This needs a NEWS and docs review.

The NEWS and docs parts are OK.  Thanks.


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