Martin Frb wrote:

There are several possibilities, that I can think off:

1) some setting the IDE uses.
- Gather all the "set foo=" commands that the IDE sends, and see if applying them to your manual driven gdb session makes a different. - Run your manual gdb with "gdb.exe -i mi " to enable mi mode (I do not think that is it, but ....)

2) Timing (again, and not unlikely)
If you open gdb in a terminal, it prints to that terminal. In the IDE it prints to a pipe. That may take different amount off time.

thank you, for pointing this out.

Also, does your sniffer give the time, between the "step over" sent to the target, and the packet that comes pack, and is ignored? compared to when it works?

In both cases, it shows nearly identically times. It takes about 1,9 ms until the breakpoint reply packet has reached the host. Nearly the same on Win2000.

If I activate gdbservers debug log, then it takes about 5,2 ms.

Regards, Bernd.



--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to