This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Unneeded displaced single stepping causes issues: Performance drop and range stepping killer
- From: Tom Tromey <tromey at redhat dot com>
- To: Raphael Zulliger <zulliger at indel dot ch>
- Cc: gdb at sourceware dot org
- Date: Tue, 23 Apr 2013 22:53:58 -0600
- Subject: Re: Unneeded displaced single stepping causes issues: Performance drop and range stepping killer
- References: <517516D8 dot 6010604 at indel dot ch>
>>>>> "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