This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
RE: GDB extended-remote run problem
- From: "Jon Beniston" <jon at beniston dot com>
- To: <gdb at sourceware dot org>
- Cc: <jon at beniston dot com>
- Date: Sat, 24 Sep 2016 11:55:33 +0100
- Subject: RE: GDB extended-remote run problem
- Authentication-results: sourceware.org; auth=none
- References:
>I'm trying to use gdb 7.11 with an extended-remote target to gdbserver.
>It seems that the 'run' command can get confused thinking the target is
running,
> even though it has stopped, if the 'run' command is executed before a
'continue' command.
>
>Here's an example session, that shows the problem:
> * snip*
If I run gdbserver without the --once option, it seems the problem only
occurs the first time gdb connects to gdbserver.
Looking at the packets transmitted between the two, the difference seems to
be that for the first connection, gdbserver sends a 'T05' packet in response
to the first '?' and a 'OK' to 'Hgp0.0' , but thereafter, it sends 'W00' and
'E01'.
Cheers,
Jon