From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25909 invoked by alias); 26 Nov 2005 18:50:04 -0000 Received: (qmail 25901 invoked by uid 22791); 26 Nov 2005 18:50:03 -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 18:50:01 +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 jAQInwqO019703; Sat, 26 Nov 2005 13:49:59 -0500 (EST) Received: (from dave@localhost) by hiauly1.hia.nrc.ca (8.12.9-20030917/8.12.9/Submit) id jAQInvcq019702; Sat, 26 Nov 2005 13:49:57 -0500 (EST) Message-Id: <200511261849.jAQInvcq019702@hiauly1.hia.nrc.ca> Subject: Re: Register numbers on hppa64 To: mark.kettenis@xs4all.nl (Mark Kettenis) Date: Sun, 27 Nov 2005 04:30:00 -0000 From: "John David Anglin" Cc: randolph@tausq.org, gdb@sources.redhat.com, brobecker@adacore.com In-Reply-To: <200511261800.jAQI0QuJ028927@elgar.sibelius.xs4all.nl> from "Mark Kettenis" at Nov 26, 2005 07:00:26 pm 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/msg00587.txt.bz2 > No what I'm saying is that .dwarf_frame uses different register > numbers than .debug_info and other .debug_xxx sections. This is > awkward and confusing because the same DWARF operations that refer to > register numbers are used in both sections but suddenly have a > different meaning. Ok. If we change the register use in .dwarf_frame, then we are breaking compatibility with previously compiled code. This isn't a big deal under HP-UX (dwarf debugging was totally broken on hppa64 until a recent assembler fix). However, there is a fair bit of installed code running linux. Thus, I would say not change the status quo if the above confusion can be handled. The actual numbers used for the FP registers are obscure and I doubt many people actually care what they are. It's only people maintaining the dwarf code that are likely to get confused. If readelf produced a text rather than numeric representation, then the problem would largely go away. Dave -- J. David Anglin dave.anglin@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602)