From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4223 invoked by alias); 23 Apr 2002 23:33:45 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 4200 invoked from network); 23 Apr 2002 23:33:38 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 23 Apr 2002 23:33:38 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 1275D3CC5; Tue, 23 Apr 2002 19:33:38 -0400 (EDT) Message-ID: <3CC5EF51.2090803@cygnus.com> Date: Tue, 23 Apr 2002 16:33:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:0.9.9) Gecko/20020328 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "David S. Miller" Cc: brobecker@ACT-Europe.FR, thorpej@wasabisystems.com, gdb-patches@sources.redhat.com Subject: Re: [RFA] Fix recent compilation errors in alpha-nat.c on alpha-osf References: <20020422154234.F21070@act-europe.fr> <20020422085618.F27275@dr-evil.shagadelic.org> <20020423121442.A15898@act-europe.fr> <20020423.034626.17274699.davem@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-04/txt/msg00887.txt.bz2 > From: Joel Brobecker > 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).