[PATCH] Use convert_typed_floating in i386-tdep.c

Andrew Cagney ac131313@cygnus.com
Mon Oct 29 17:06:00 GMT 2001


> The new convert_typed_floating functions allows me to remove some
> nasty bits of code in i386-tdep.c.  As a bonus this changes the type
> of the floating-point registers.  We no longer lie to GDB about their
> contents.  They're still marked as convertable though, since core GDB
> doesn't know how to do that yet.

Ya!
As an asside, check the macro (yes macro) REGISTER_CONVERT_TO_TYPE() I 
think a reasonable extension of that can be used to fix the register 
conversion problem.

Andrew




More information about the Gdb-patches mailing list