This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: [5.1] Re: 64bit on HPUX 11.0
- To: Andrew Cagney <ac131313 at cygnus dot com>
- Subject: Re: [5.1] Re: 64bit on HPUX 11.0
- From: Elena Zannoni <ezannoni at cygnus dot com>
- Date: Thu, 27 Sep 2001 13:27:44 -0400
- Cc: gdb at sourceware dot cygnus dot com, igor at txc dot com
- References: <20010820190949.N1214@mailhub.txc.com><3BB29F7C.1020102@cygnus.com>
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