From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: Mark Kettenis Cc: gdb-patches@sources.redhat.com Subject: Re: [PATCH] Use convert_typed_floating in i386-tdep.c Date: Mon, 29 Oct 2001 17:06:00 -0000 Message-id: <3BDDFD02.8030001@cygnus.com> References: <200110292352.f9TNqPD17631@delius.kettenis.local> X-SW-Source: 2001-10/msg00368.html > 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