gdb remote serial protocol qC and vCont question
Kishore Paul
kishorep@freescale.com
Fri Dec 8 22:00:00 GMT 2006
Daniel,
The T packet works and I am seeing the threads switching now.
Thanks,
Kishore
Daniel Jacobowitz wrote:
>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.
>
>
>
More information about the Gdb
mailing list