Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

gdb on HPUX 11.23

Status
Not open for further replies.

rimono

Programmer
Nov 11, 2007
8
IL
Hi,

I'm trying to debug my gcc compiled code on my HPUX 11.23 (Itanium).
I searched the machine to find something that looks like a compiler, and what I found was :
adb (a bit unfriendly for debugging)
kwdb (I understand this is a kernel debugger)
gdb32
gdb64
gdbpa

When I run either gdb32, gdb64 or gdbpa and write:

Code:
exec <MyProgramName>

I get in all cases the following message:
Code:
IPF gdb  could not be found. Try adding the directory in
which IPF gdb lives to your path enviornment variable.
Switch to IPF mode failed

As far as I know my code is 32 bit, but I tried the 64 just in case - to no avail.

I thought maybe I'm missing some part of the gdb installation, and tried installing from the gnu site, both gdb5.3 and gdb6.7, but when I run the 'configure' on both they say they do not support my configuration of HPUX 11.23.

What debugger can I use here? Why won't the gdb32 debug my code? What is IPF gdb and where can I get it?

Any help would be much appreciated!

RO
 
Check that /usr/ccs/bin is in your PATH environment variable.
 
/usr/ccs/bin is in the PATH - I'm afraid it doesn't help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top