This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] Fix recent compilation errors in alpha-nat.c on alpha-osf
> From: Joel Brobecker <brobecker@ACT-Europe.FR>
> Date: Tue, 23 Apr 2002 12:14:42 +0200
>
> Thanks for the help. I relaunched the testsuite, and here are the
> results on our Tru64 5.1A machine. They should be identical to
> yesterday's results:
>
> # of unexpected failures 791
>
> This reminds me of an issue Richard Henderson mentioned to
> me. At least at one point in time gdb got really confused when gcc
> used float regs for integer values. This happens quite often on
> Alpha, and can happen on other systems too (Sparc when usage of
> VIS instructions is enabled).
>
> Does GDB still have a problem with this situation?
The *CONVERT* stuff should be capable of handling this. For the Alpha,
PeterS added:
Tue Nov 2 13:42:30 1993 Peter Schauer
(pes@regent.e-technik.tu-muenchen.de)
* alpha-tdep.c (alpha_register_convert_to_raw,
alpha_register_convert_to_virtual): New routines to handle
the different raw formats in alpha floating point registers.
* config/alpha/tm-alpha.h (REGISTER_CONVERTIBLE,
REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW): Use them.
So it is certanly using the correct mechanism. Perhaphs if you can give
a concrete example it can be fixed.
enjoy,
Andrew
(A word of caution - the CONVERT stuff is overloaded, the above use is
ok but the second use as seen in the MIPS isn't).