This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] Use convert_typed_floating in i386-tdep.c
- To: Mark Kettenis <kettenis at wins dot uva dot nl>
- Subject: Re: [PATCH] Use convert_typed_floating in i386-tdep.c
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Mon, 29 Oct 2001 20:06:10 -0500
- Cc: gdb-patches at sources dot redhat dot com
- References: <200110292352.f9TNqPD17631@delius.kettenis.local>
> 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