RFA: gdb/i386-linux-nat.c
Jim Blandy
jimb@cygnus.com
Mon Oct 11 17:50:00 GMT 1999
> The following change needs to be made to fill_fpregset and
> supply_fpregset in i386-linux-nat.c:
>
> * i386-linux-nat.c (supply_fpregset, fill_fpregset): copy
> from/to start of fpregsetp not start of st_space as the first
> stuff we copy is the FP control registers not the actual FP values.
>
> Jim,
>
> Okay to commit?
Sure thing!
I wish there were a test that caught this problem, but since GDB can't
print FP variables in registers on the x86 anyway, it's a little
difficult to write a portable test that shows this off.
More information about the Gdb-patches
mailing list