[5.1] Re: 64bit on HPUX 11.0

Elena Zannoni ezannoni@cygnus.com
Thu Sep 27 10:20:00 GMT 2001


Andrew Cagney writes:
 >  From memory, getting GDB for a HP/UX 64 bit environment involves some 
 > black magic.
 > 
 > Would someone be able to post the relevant magic (so that it can go into 
 > the 5.1 release notes)?  Hmm, checking it would probably also be a good 
 > idea - if it is broken documenting it as such would equally be a good idea.
 > 
 > 	Andrew
 > 
 > > Hi,
 > > 
 > > my config.guess returns hppa2.0w-hp-hpux11.00, however when I build
 > > gdb-5.0 for this target, I can't debug 64bit ELF binaries.  even
 > > though the gdb binary itself is 64bit:
 > > 
 > > % file gdb/gdb
 > > gdb/gdb:        ELF-64 executable object file - PA-RISC 2.0 (LP64)
 > > 
 > > Is there anything I'm missing?
 > > 
 > > Thanks
 > > 
 > > Igor
 > 


I am not sure I understand all the issues here, but looking back at
the archives:

http://sources.redhat.com/ml/gdb/2000-04/msg00129.html

Maybe there is a need for a --host=hppa64-hp-hpux11.00 (or
--target=hppa64-hp-hpux11.00).

I think that is actually the case:
http://sources.redhat.com/ml/gdb-patches/2000-06/msg00147.html

See also:
http://sources.redhat.com/ml/gdb/2001-08/msg00206.html

Elena



More information about the Gdb mailing list