From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19345 invoked by alias); 24 May 2011 04:44:45 -0000 Received: (qmail 19336 invoked by uid 22791); 24 May 2011 04:44:45 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 24 May 2011 04:44:30 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id AE78D2BAFE7; Tue, 24 May 2011 00:44:29 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id BAL0MP-rqAgy; Tue, 24 May 2011 00:44:29 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id D5B732BAFAD; Tue, 24 May 2011 00:44:28 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id D5CB2145615; Mon, 23 May 2011 21:44:18 -0700 (PDT) Date: Tue, 24 May 2011 04:44:00 -0000 From: Joel Brobecker To: Pedro Alves Cc: gdb-patches@sourceware.org, Mark Kettenis Subject: Re: $zero on alpha should always be available Message-ID: <20110524044418.GC4909@adacore.com> References: <201105211919.p4LJJn5Z013541@glazunov.sibelius.xs4all.nl> <201105221217.12418.pedro@codesourcery.com> <201105231835.54370.pedro@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201105231835.54370.pedro@codesourcery.com> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-05/txt/msg00546.txt.bz2 > Here's what I came up with by inspection. I have no alpha machine to test > this on. The alpha-nat.c change would need > checking on an alpha running OSF if we wanted to test this... Thanks, Pedro. I will try to test this tomorrow. I think Tru64 is one of the systems where expect or tcl no longer work for me, so I might not be able to run the testsuite. But worse case scenario, I can try running it against AdaCore's testsuite. > 2011-05-23 Pedro Alves > > gdb/ > * alpha-tdep.c (alpha_cannot_fetch_register): Don't return true > for ALPHA_ZERO_REGNUM. > (alpha_supply_int_regs): Explicitly supply zero as the value for > ALPHA_ZERO_REGNUM in the register cache. > * alpha-nat.c (fetch_osf_core_registers): Ditto. -- Joel