[comp.sys.hp] Need help with GDB on HP 9000/370 HP-UX 7.0

griffi-r@cube.cis.ohio-state.edu (Robert M. Griffiths) (01/11/91)

I compiled GDB on an HP 9000/370 running HP-UX 7.0. GDB can't
find the symbol-table in any programs that have been compiled with
debugging information. Has anyone gotten GDB to work on a similar
system?

Any help would be appreciated.

-=-
Bob Griffiths
griffi-r@cis.ohio-state.edu

cedman@golem.ps.uci.edu (Carl Edman) (01/11/91)

In article <87178@tut.cis.ohio-state.edu> griffi-r@cube.cis.ohio-state.edu (Robert M. Griffiths) writes:
   I compiled GDB on an HP 9000/370 running HP-UX 7.0. GDB can't
   find the symbol-table in any programs that have been compiled with
   debugging information. Has anyone gotten GDB to work on a similar
   system?

   Any help would be appreciated.

Any chance that the gcc you use has been configured to use
HPUX-object/library format ? That is quite common and leads to the
errors you describe.

Even on danger of repeating myself: Most GNU-HP-binaries are available
as an "Instant Archive" (maybe I really should go into advertising ?
:-) from golem.ps.uci.edu via anon ftp. Just uncompress and untar it
and gcc(using gnu-object/library format),gas,gdb,g++,bison and quite a
few other of the GNU programming tools will be installed on your HP
9000/[34]00 system automatically.

        Carl Edman


Theoretical Physicist,N.: A physicist whose  | Send mail
existence is postulated, to make the numbers |  to
balance but who is never actually observed   | cedman@golem.ps.uci.edu
in the laboratory.                           | edmanc@uciph0.ps.uci.edu
* Did you know that you can have a typo in your signature, send 100s of *
*  mails and 100s of world-wide posts, and nobody will ever tell you ?  *