Register numbers on hppa64
John David Anglin
dave@hiauly1.hia.nrc.ca
Sun Nov 27 04:30:00 GMT 2005
> 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)
More information about the Gdb
mailing list