1833875 Members
1718 Online
110063 Solutions
New Discussion

Re: DBX tool on HPUX

 
SOLVED
Go to solution
Cindy_3
New Member

DBX tool on HPUX

Does anyone know any tools similar to DBX for HPUX 11.0. I have installed GDB, but our user claimed they need to have DBX installed in order to debug the core dump.

Please help! Thanks in advance.

5 REPLIES 5
Michael Tully
Honored Contributor

Re: DBX tool on HPUX

Angus Crome
Honored Contributor

Re: DBX tool on HPUX

A note about gdb vs dbx;

You can do a lot with gdb, but if I remember correctly, there is a command line switch "-xdb" to make it behave like the originals (check the man page). The only reason your user needs to have dbx, is because they are not familiar enough with gdb. I would say this would be an ideal time for them to get their feet wet.
There are 10 types of people in the world, those who understand binary and those who don't - Author Unknown
Ravi_8
Honored Contributor

Re: DBX tool on HPUX

Hi,

Under /opt/langttols/bin there will be dde/gdb.
you can use either of them . we normally use dde for debugging
never give up
Cindy_3
New Member

Re: DBX tool on HPUX

Thank you all for the replies. I will have the user to try it out.
Gregory Fruth
Esteemed Contributor
Solution

Re: DBX tool on HPUX

dbx is the name of the standard debugger
on other Unix systems such as Solaris.

In the past, the standard debugger on
HP-UX was xdb (note the spelling). Perhaps
the user could use that.

At some point, HP replaced xdb with dde,
though xdb was still made available.

Later on, dde was itself replaced by wdb,
which is an HP-enhanced version of gdb.

You can poke around in /opt/langtools/bin
to see which of these you have.

Your system may also have other debuggers
such as adb (a low-level debugger), ddd
(a very nice GUI interface to gdb), and
softdebug (a graphical interface to xdb/dde;
part of HP's Softbench IDE product.)

HTH