mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 09:38:57 +00:00
* i386-linux-nat.c (fill_gregset): Fix botched regcache_collect()
conversion for I386_LINUX_ORIG_EAX_REGNUM.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2001-11-18 Kevin Buettner <kevinb@redhat.com>
|
||||
|
||||
* i386-linux-nat.c (fill_gregset): Fix botched regcache_collect()
|
||||
conversion for I386_LINUX_ORIG_EAX_REGNUM.
|
||||
|
||||
2001-11-18 Andrew Cagney <ac131313@redhat.com>
|
||||
|
||||
* config/i386/embed.mt (TM_FILE): Set to tm-i386.h.
|
||||
|
||||
@@ -325,7 +325,7 @@ fill_gregset (elf_gregset_t *gregsetp, int regno)
|
||||
regcache_collect (i, regp + regmap[i]);
|
||||
|
||||
if (regno == -1 || regno == I386_LINUX_ORIG_EAX_REGNUM)
|
||||
regcache_collect (I386_LINUX_ORIG_EAX_REGNUM, regp + regmap[ORIG_EAX]);
|
||||
regcache_collect (I386_LINUX_ORIG_EAX_REGNUM, regp + ORIG_EAX);
|
||||
}
|
||||
|
||||
#ifdef HAVE_PTRACE_GETREGS
|
||||
|
||||
Reference in New Issue
Block a user