This is the mail archive of the gdb@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: Single Step command


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).




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