* I'm having a problem getting GDB working on HPUX 11.00

First I had the same linking problem as described in the message
http://sources.redhat.com/ml/bug-gdb/2000-06/msg00027.html

Following the instruction in the above message to add -lxpdl I got gdb
to link.

Now when I compile a simple test application and try to debug it, gdb
fails and says something to Dave:

(gdb) file t
Reading symbols from t...I'm sorry, Dave, I can't do that.  Symbol
format `som' unknown.

This seems to be the same error as in message:
http://sources.redhat.com/ml/gdb/2000-06/msg00195.html


* About my environment:

On this system I installed binutils from
http://hpux.connect.org.uk/hppd/hpux/Gnu/binutils-2.9.1/

Then installed gcc-2.95.2 from ftp.gnu.org

../gcc-2.95.2/configure --prefix=/usr/gnu --enable-threads --with-gnu-as

And used this gcc to build gdb.

gcc itself seems to work fine, I've built bunch of software with it.

harri@peseta (../gdb-5.0/gdb) [77] $ gcc -v
Reading specs from
/usr/gnu/lib/gcc-lib/hppa2.0w-hp-hpux11.00/2.95.2/specs
gcc version 2.95.2 19991024 (release)


I wonder if I should build gcc with --with-dwarf2  , or what is the
remedy to my problems?

Regards,

Harri Pasanen

Reply via email to