This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug threads/16778] amd64 displacement code oddity; segfault
- From: "dje at google dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Sat, 29 Mar 2014 23:26:08 +0000
- Subject: [Bug threads/16778] amd64 displacement code oddity; segfault
- Auto-submitted: auto-generated
- References: <bug-16778-4717 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=16778
dje at google dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dje at google dot com
--- Comment #3 from dje at google dot com ---
The likely explanation is simple oversight from deriving the support from
i386-tdep.c.
regcache_cooked_read_unsigned (regs, I386_ESP_REGNUM, &esp);
retaddr = read_memory_unsigned_integer (esp, retaddr_len, byte_order);
retaddr = (retaddr - insn_offset) & 0xffffffffUL;
write_memory_unsigned_integer (esp, retaddr_len, byte_order, retaddr);
--
You are receiving this mail because:
You are on the CC list for the bug.