+2001-11-17 Kevin Buettner <kevinb@redhat.com>
+
+ * i386-linux-nat.c (fill_gregset): Don't invoke read_register_gen()
+ when fetching ORIG_EAX.
+
2001-11-17 Daniel Jacobowitz <drow@mvista.com>
* arm-linux-nat.c: Don't include <asm/ptrace.h>.
*(regp + regmap[i]) = *(elf_greg_t *) ®isters[REGISTER_BYTE (i)];
if (regno == -1 || regno == I386_LINUX_ORIG_EAX_REGNUM)
- read_register_gen (I386_LINUX_ORIG_EAX_REGNUM, (char *) (regp + ORIG_EAX));
+ *(regp + regmap[ORIG_EAX]) =
+ *(elf_greg_t *) ®isters[REGISTER_BYTE (I386_LINUX_ORIG_EAX_REGNUM)];
}
#ifdef HAVE_PTRACE_GETREGS