This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/16304] Process Record and Replay don't work for x32
- From: "hjl.tools at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Sun, 08 Dec 2013 16:36:24 +0000
- Subject: [Bug gdb/16304] Process Record and Replay don't work for x32
- Auto-submitted: auto-generated
- References: <bug-16304-4717 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=16304
--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
There are several problems. One of them is
static int
i386_record_lea_modrm_addr (struct i386_record_s *irp, uint64_t *addr)
{
struct gdbarch *gdbarch = irp->gdbarch;
enum bfd_endian byte_order = gdbarch_byte_order (gdbarch);
gdb_byte buf[4];
ULONGEST offset64;
*addr = 0;
if (irp->aflag)
{
/* 32 bits */
This is incorrect. OP_E_memory in i386-dis.c has
if ((sizeflag & AFLAG) || address_mode == mode_64bit)
{
/* 32/64 bit address mode */
--
You are receiving this mail because:
You are on the CC list for the bug.