This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Single Step command
- From: Michael Snyder <msnyder at specifix dot com>
- To: Guillaume MENANT <guillaume dot menant at geensys dot com>
- Cc: gdb at sourceware dot org
- Date: Mon, 19 Nov 2007 06:07:24 -0800
- Subject: Re: Single Step command
- References: <474195FA.1000605@geensys.com>
On Mon, 2007-11-19 at 14:56 +0100, Guillaume MENANT wrote:
> 2 - What is the reply for an "s" (Single Step) command for an error ? I
> haven't seen a "E" reply in the Stop Reply Packets.
The final authority is the code.
remote.c/remote_wait:
switch (buf[0])
{
case 'E': /* Error of some sort. */
warning (_("Remote failure reply: %s"), buf);
continue;
The norm for an error reply is "Exy" where x and y are decimal
digits. gdb does not really pay attention to the value in most
cases (including this one).