gdb remote serial protocol qC and vCont question
Daniel Jacobowitz
drow@false.org
Fri Dec 8 03:29:00 GMT 2006
On Thu, Dec 07, 2006 at 08:29:11PM -0600, Kishore Paul wrote:
> Received packet: [vCont;s:1;c] -------------> (1)
> ....
> < thread switch happens to 2 >
> ....
> <receives S05>
> Received packet: [vCont;s:1;c] -------------> (2)*
>
>
> Between the first and second vCont packet the thread-id changes from 1
> to 2 but this information is somehow not getting communicated to gdb.
> The intent of the second vCont is to do a step for thread 2 and c for
> all other threads.
How do you expect GDB to know this if you aren't telling it? It can't
guess!
The thing you're missing is the 'T' response and the "thread:" item in
it.
--
Daniel Jacobowitz
CodeSourcery
More information about the Gdb
mailing list