Unneeded displaced single stepping causes issues: Performance drop and range stepping killer

Tom Tromey tromey@redhat.com
Wed Apr 24 04:54:00 GMT 2013


>>>>> "Raphael" == Raphael Zulliger <zulliger@indel.ch> writes:

Raphael> versus:

Raphael>         (gdb) set displaced-stepping 1
Raphael>         (gdb) si
Raphael>         Sending packet: $m1508,4#9b...Packet received: 3c000058
Raphael>         Sending packet: $m832d4,4#02...Packet received: 7c0802a6
Raphael>         Sending packet: $X1508,0:#bc...Packet received:
Raphael>         binary downloading NOT supported by target
Raphael>         Sending packet: $M1508,4:7c0802a6#b0...Packet received: OK
Raphael>         Sending packet: $g#67...Packet received:
[...]

I guess this is copying the instruction and stepping it?  I wonder if we
could put more information about displaced stepping into the remote
protocol, to avoid the extra traffic.

Tom



More information about the Gdb mailing list