This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Register numbers on hppa64
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: mark dot kettenis at xs4all dot nl (Mark Kettenis)
- Cc: randolph at tausq dot org, gdb at sources dot redhat dot com, brobecker at adacore dot com
- Date: Sat, 26 Nov 2005 13:49:57 -0500 (EST)
- Subject: Re: Register numbers on hppa64
> 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)