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: randolph at tausq dot org (Randolph Chung)
- Cc: mark dot kettenis at xs4all dot nl, gdb at sources dot redhat dot com, brobecker at adacore dot com
- Date: Sat, 26 Nov 2005 12:32:27 -0500 (EST)
- Subject: Re: Register numbers on hppa64
> 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)