From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5121 invoked by alias); 26 Nov 2005 17:32:33 -0000 Received: (qmail 5112 invoked by uid 22791); 26 Nov 2005 17:32:33 -0000 X-Spam-Check-By: sourceware.org Received: from hiauly1.hia.nrc.ca (HELO hiauly1.hia.nrc.ca) (132.246.100.193) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 26 Nov 2005 17:32:32 +0000 Received: from hiauly1.hia.nrc.ca (hiauly1.hia.nrc.ca [127.0.0.1] (may be forged)) by hiauly1.hia.nrc.ca (8.12.9-20030917/8.12.9) with ESMTP id jAQHWSqO028562; Sat, 26 Nov 2005 12:32:29 -0500 (EST) Received: (from dave@localhost) by hiauly1.hia.nrc.ca (8.12.9-20030917/8.12.9/Submit) id jAQHWSYX028560; Sat, 26 Nov 2005 12:32:28 -0500 (EST) Message-Id: <200511261732.jAQHWSYX028560@hiauly1.hia.nrc.ca> Subject: Re: Register numbers on hppa64 To: randolph@tausq.org (Randolph Chung) Date: Sat, 26 Nov 2005 17:34:00 -0000 From: "John David Anglin" Cc: mark.kettenis@xs4all.nl, gdb@sources.redhat.com, brobecker@adacore.com In-Reply-To: <43888F83.7090603@tausq.org> from "Randolph Chung" at Nov 27, 2005 00:38:27 am MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2005-11/txt/msg00582.txt.bz2 > I believe HP compilers for hppa64-hpux also use dwarf; I don't see where > the register numbering is documented in the ABI. I can easily implement > a hppa64_dwarf_reg_to_regnum method, but I need to know if all hppa64 > compilers have the same view of register numbers. I can't provide a definitive answer but I don't think so. We see debug information in sections like the following: [34] .debug_header PROGBITS 0000000000000000 00004800 0000000000000030 0000000000000000 0 0 4 [35] .debug_gntt PROGBITS 0000000000000028 00004830 00000000000001a0 0000000000000000 0 0 4 [36] .debug_lntt PROGBITS 0000000000001398 000049d0 00000000000018f0 0000000000000000 0 0 4 I think this is a modification of the debug format documented in the 32-bit runtime. At one time, I think there was support for this format in gdb (wdb?). However, the practical use is limited as HP libraries don't contain debug information. Dave -- J. David Anglin dave.anglin@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602)