This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]