This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Stop sending qTStatus if the target doesn't recognize it; add packet configuration command.
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 28 Mar 2013 21:46:14 +0200
- Subject: Re: [PATCH] Stop sending qTStatus if the target doesn't recognize it; add packet configuration command.
- References: <20130328191148 dot 15126 dot 83790 dot stgit at brno dot lan>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> 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.