From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27903 invoked by alias); 18 Dec 2003 22:58:48 -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 27882 invoked from network); 18 Dec 2003 22:58:47 -0000 Received: from unknown (HELO igw2.watson.ibm.com) (129.34.20.6) by sources.redhat.com with SMTP; 18 Dec 2003 22:58:47 -0000 Received: from sp1n293en1.watson.ibm.com (sp1n293en1.watson.ibm.com [9.2.112.57]) by igw2.watson.ibm.com (8.11.7-20030924/8.11.4) with ESMTP id hBIMwiC215374; Thu, 18 Dec 2003 17:58:44 -0500 Received: from makai.watson.ibm.com (localhost [127.0.0.1]) by sp1n293en1.watson.ibm.com (8.11.7-20030924/8.11.7) with ESMTP id hBIMwi069312; Thu, 18 Dec 2003 17:58:44 -0500 Received: from makai.watson.ibm.com (localhost [127.0.0.1]) by makai.watson.ibm.com (AIX5.1/8.11.6p2/8.11.0/03-06-2002) with ESMTP id hBIMwgT25422; Thu, 18 Dec 2003 17:58:42 -0500 Message-Id: <200312182258.hBIMwgT25422@makai.watson.ibm.com> To: cagney@gnu.org cc: gcc@gcc.gnu.org, gdb-patches@sources.redhat.com, "Ulrich Weigand" , geoffk@geoffk.org, Mark Kettenis Subject: Re: Incorrect DWARF-2 register numbers on PPC64? In-Reply-To: Message from "Ulrich Weigand" of "Thu, 18 Dec 2003 18:31:08 +0100." References: Date: Thu, 18 Dec 2003 22:58:00 -0000 From: David Edelsohn X-SW-Source: 2003-12/txt/msg00440.txt.bz2 >>>>> Andrew Cagney writes: > Argh! Someone teach GCC about the PPC64 DWARF register numbering > please! Before it is too late! Now it is using the PPC32 LR register > number, which just happens to be the PPC64 FPSCR register. The 32-bit PowerPC System V ABI defines DWARF Register Number Mapping that does not appear to be implemented in GCC or GDB. This issue probably requires more thought and discussion about whether PPC64 should be compatible with PPC32 or PPC64 should be compliant with the ABI or both PPC32 and PPC64 should be compliant with the ABI. David