This is the mail archive of the gdb-patches@sources.redhat.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: [PATCH] Use convert_typed_floating in i386-tdep.c


> 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



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