This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: RFA: gdb/i386-linux-nat.c



> 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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]