This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]