[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gdb
Subject:    RE: GDB extended-remote run problem
From:       "Jon Beniston" <jon () beniston ! com>
Date:       2016-09-24 10:55:33
Message-ID: 00fa01d21652$2d6419f0$882c4dd0$ () beniston ! com
[Download RAW message or body]

>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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic