remote debugging packets

Mark Salter msalter@redhat.com
Fri Nov 21 14:52:00 GMT 2003


>>>>> Manoj Verma, Noida writes:

>> > 2) On the Gdb client side when I continue, "(gdb) 
>> continue", why it first
>> > sends a packet ($s#73...Ack) and then the packet 
>> ($c#63...Ack) as shown
>> > below in sanpshot-2 ? It should only send the packet ($c#63...Ack).
>> 
>> This is expected. GDB has to single-step past the one machine 
>> instruction
>> before re-inserting any breakpoints and continuing.
>> 

> But consider the scenario when I have breakpoints set on two consecutive
> lines. Will in this case also this behavior is justified?

It is certainly correct behavior. I don't see any problem with
your scenario.

--Mark




More information about the Gdb mailing list