* i386-linux-nat.c (fill_gregset): Don't invoke read_register_gen()
when fetching ORIG_EAX.
This commit is contained in:
parent
b66167ff38
commit
7dd945fa27
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
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>.
|
||||
|
|
|
@ -325,7 +325,8 @@ fill_gregset (elf_gregset_t *gregsetp, int regno)
|
|||
*(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
|
||||
|
|
Loading…
Reference in a new issue