SUMMARY: gdb on Tru64 5.1B ?

From: Bütow, Michael (michael.buetow@comsoft.de)
Date: Fri Jul 25 2003 - 09:50:28 EDT


Many thanks to those who responded: Alan Davis, Kazuro Furukawa and Rainer Orth.

Alan pointed out that gdb is available as part of the Linux Affinity for Tru64 from HP:

  http://h30097.www3.hp.com/affinity/gnupro.tar.gz

However, the version included in the above (5.0-tru64-010710, configured for alphaev56-dec-osf5.1) complained with the following warning when I ran it on a EV67 DS-10 running Tru64 Unix 5.1B to analyse an application core file:

   warning: big endian file does not match little endian target.

This is presumably a result of some flaw in the port as far as I could tell from some other mailing lists.
Hence I was not sure how reliable this version of gdb is, and decided to investigate other builds.

Rainer advised me the latest 6.0 CVS branch, as described on

        http://sources.redhat.com/gdb/

but unfortunately I do not have easy access to CVS from here. Perhaps some others will find it useful.

Kazuro shared with me how to build gdb 5.3 (supposed to work under under 5.1A and 5.1B - I only have 5.1B).

  #!/bin/sh
  mkdir gdbobj; cd gdbobj
  env CC="cc -std1" /usr/new/src/gnu/new/Tobedel/gdb-5.3/configure \
   --prefix=/usr/new | tee ../gdb-5.3-orange-b-make1.log
  make | tee ../gdb-5.3-orange-b-make2.log
  make check | tee ../gdb-5.3-orange-b-make3.log
  make install | tee ../gdb-5.3-orange-b-make4.log
  strip /usr/new/bin/gdb

I had to modify the above slighty to get it to build, but eventually it did fine (I didn´t use the gdbobj directory nor the /usr/new prefix).
The resulting executable did not complain about the endianness of the core file anymore either, and seems to be fine so far.

Thanks again,
Michael

--- original mail ---

Hi managers,

I am looking for help from someone who has a working gdb on Tru64 5.1B.

So far I have tried to build an older version (4-17) which I read on a newsgroup someone else had built successfully, but I am encountering lots of errors.

Anyone?

Sincerely,
Michael

========================================================
Michael BÜTOW Phone: (49) 721-9497221
COMSOFT GmbH Fax: (49) 721-9497129
Wachhausstr. 5a WWW: http://www.comsoft.de
D-76227 Karlsruhe, Germany
========================================================



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:28 EDT