This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug breakpoints/12774] displaced stepping optimization
- From: "tromey at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 25 Nov 2013 15:23:19 +0000
- Subject: [Bug breakpoints/12774] displaced stepping optimization
- Auto-submitted: auto-generated
- References: <bug-12774-4717 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=12774
--- Comment #1 from Tom Tromey <tromey at redhat dot com> ---
My notes say that at one point Josh helpfully
provided a list of standard no-op sequences for x86.
<jistone> tromey, intel's recommendation is:
<jistone> Length
<jistone> Assembly Byte Sequence
<jistone> 2 bytes 66 NOP 66 90H
<jistone> 3 bytes NOP DWORD ptr [EAX] 0F 1F 00H
<jistone> 4 bytes NOP DWORD ptr [EAX + 00H] 0F 1F 40 00H
<jistone> 5 bytes NOP DWORD ptr [EAX + EAX*1 + 00H] 0F 1F 44 00 00H
<jistone> 6 bytes 66 NOP DWORD ptr [EAX + EAX*1 + 00H] 66 0F 1F 44 00 00H
<jistone> 7 bytes NOP DWORD ptr [EAX + 00000000H] 0F 1F 80 00 00 00 00H
<jistone> 8 bytes NOP DWORD ptr [EAX + EAX*1 + 00000000H] 0F 1F 84 00 00 00 00
00H
<jistone> 9 bytes 66 NOP DWORD ptr [EAX + EAX*1 + 66 0F 1F 84 00 00 00 00
<jistone> 00000000H] 00H
--
You are receiving this mail because:
You are on the CC list for the bug.