[PATCH RFA]: Fix i386-linux-nat.c fill_gregset()
Kevin Buettner
kevinb@cygnus.com
Wed Nov 7 08:30:00 GMT 2001
On Nov 17, 3:17am, Kevin Buettner wrote:
> * i386-linux-nat.c (fill_gregset): Don't invoke read_register_gen()
> when fetching ORIG_EAX.
[...]
> - 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)];
Committed. (Thanks to Mark K. for the quick approval.)
I'm going to convert fill_gregset() to use regcache_collect() as a
separate step. I'm testing it now and will commit it as "obvious"
assuming my testing goes okay...
Kevin
More information about the Gdb-patches
mailing list