[comp.lang.c++] sun's c++

aed@netcom.UUCP (Andrew Davidson) (12/21/90)

I understand your are very distisfied with sun's c++ compiler. I work
on a sparc. we use g++ and gdb from gnu (the free software
foundations). It was easy to build and works very nicely

andy


-- 
-----------------------------------------------------------------
                  "bede-bede-bede Thats all Folks"
				Porky Pig
Andy Davidson
Woodside CA.
aed@netcom
-----------------------------------------------------------------

ken@csis.dit.csiro.au (Ken Yap) (12/27/90)

>I understand your are very distisfied with sun's c++ compiler. I work
>on a sparc. we use g++ and gdb from gnu (the free software
>foundations). It was easy to build and works very nicely

I have two wishes for GNU C++. A shared library ld++ and a xgdb.
Also does anybody know why gdb knows nothing about class members
inside class functions? For instance I can't print "this" or any
other data member. This is g++/libg++ 1.37.2 and gdb 3.5.

poffen@sj.ate.slb.com (Russ Poffenberger) (12/29/90)

In article <1990Dec27.002102.9762@csis.dit.csiro.au> ken@csis.dit.csiro.au (Ken Yap) writes:
>>I understand your are very distisfied with sun's c++ compiler. I work
>>on a sparc. we use g++ and gdb from gnu (the free software
>>foundations). It was easy to build and works very nicely
>
>I have two wishes for GNU C++. A shared library ld++ and a xgdb.
>Also does anybody know why gdb knows nothing about class members
>inside class functions? For instance I can't print "this" or any
>other data member. This is g++/libg++ 1.37.2 and gdb 3.5.


There is xgdb. It is part of the contrib from prep.ai.mit.edu. Make sure you
get the latest, and any patches (2.1 I think), previous versions had too many
bugs to be useful.


Russ Poffenberger               DOMAIN: poffen@sj.ate.slb.com
Schlumberger Technologies       UUCP:   {uunet,decwrl,amdahl}!sjsca4!poffen
1601 Technology Drive		CIS:	72401,276
San Jose, Ca. 95110             (408)437-5254

ken@csis.dit.csiro.au (Ken Yap) (01/02/91)

>>I have two wishes for GNU C++. A shared library ld++ and a xgdb.
>>Also does anybody know why gdb knows nothing about class members
>>inside class functions? For instance I can't print "this" or any
>>other data member. This is g++/libg++ 1.37.2 and gdb 3.5.
>
>
>There is xgdb. It is part of the contrib from prep.ai.mit.edu. Make sure you
>get the latest, and any patches (2.1 I think), previous versions had too many
>bugs to be useful.

Ok, I looked and didn't find it there. So I asked archie and it said:

Date:    Tue, 1 Jan 91 18:27:53 EST
To:      <ken@tucana.csis.dit.csiro.au>
From:    archie@quiche
Subject: archie reply: prog xgdb.*  

Search request for 'xgdb.*'


Host unido.informatik.uni-dortmund.de (129.217.64.60)
Last updated 00:37 11 Dec 1990
    Location: pub/gnu/gdb
      FILE      rw-rw-r--  333548  Jul 17  1989   xgdb3.2.tar.Z

Host apple.com (130.43.2.2)
Last updated 16:02 10 Dec 1990
    Location: pub/ArchiveVol1/gnu
      FILE      rw-r--r--  333548  Aug 14  1989   xgdb3.2.tar.Z

Host giza.cis.ohio-state.edu (128.146.8.61)
Last updated 14:19 10 Dec 1990
    Location: pub/X.V11R3/contrib
      FILE      rw-r--r--  333548  Jul  9  1989   xgdb3.2.tar.Z

Host uvax.rrz.uni-koeln.de (134.95.130.211)
Last updated 17:49 9 Dec 1990
    Location: pub/gnu/unsupported
      FILE      rw-rw-r--  333548  Aug 30  1989   xgdb3.2.tar.Z

Host uhccux.uhcc.hawaii.edu (128.171.7.2)
Last updated 18:03 9 Dec 1990
    Location: X/X11.other/Fixes
      FILE      rw-r--r--    4175  Jan 20  1989   xgdb-fix

Host cac.washington.edu (128.95.112.1)
Last updated 15:44 10 Dec 1990
    Location: local/emacs.sun386/gdb
      FILE      rw-rw-r--   19446  Jul 20  1988   xgdb.c
    Location: local/emacs.pmax4.0/gdb
      FILE      rw-r--r--   19446  Jul 20  1988   xgdb.c
    Location: local/emacs.pmax.old/gdb
      FILE      rw-rw-r--   19446  Jul 20  1988   xgdb.c

Host cmns.think.com (131.239.2.100)
Last updated 15:16 10 Dec 1990
    Location: gnu/dist-gdb
      FILE      rw-r--r--   15985  Sep  1  1989   xgdb.c
    Location: gnu/dist-18.55/gdb
      FILE      rw-r--r--   19446  Jul 20  1988   xgdb.c

Host kampi.hut.fi (130.233.224.2)
Last updated 13:20 10 Dec 1990
    Location: gnu/dist-gdb-3.4
      FILE      rw-r--r--   15985  Sep  2  1989   xgdb.c
    Location: gnu/dist-18.55/gdb
      FILE      rw-r--r--   19446  Jul 21  1988   xgdb.c

Host psuvax1.cs.psu.edu (130.203.1.6)
Last updated 00:12 10 Dec 1990
    Location: pub/src/gnu/gdb-3.5
      FILE      rw-r--r--   15985  Jan 10  1990   xgdb.c

Host uhccux.uhcc.hawaii.edu (128.171.7.2)
Last updated 18:03 9 Dec 1990
    Location: editors/Treemacs/gnuemacs/gdb
      FILE      rw-r-----   16521  Jul  5  1988   xgdb.c
    Location: editors/GNU/Emacs/dist-18.55/gdb
      FILE      rw-r--r--   19446  Jul 20  1988   xgdb.c

Host psuvax1.cs.psu.edu (130.203.1.6)
Last updated 00:12 10 Dec 1990
    Location: pub/src/gnu/gdb-3.4
      FILE      rw-r--r--    7740  Sep  2  1989   xgdb.c.Z
    Location: pub/src/gnu/emacs-18.55/gdb
      FILE      rw-rw-r--    9125  Jul 20  1988   xgdb.c.Z

Host rusmv1.rus.uni-stuttgart.de (129.69.1.12)
Last updated 23:56 9 Dec 1990
    Location: soft/sun/sug/sug_tape_4/emacs-dist-18./gdb
      FILE      rw-r--r--    7828  Dec 14  1987   xgdb.c.Z

Host suned.zoo.cs.yale.edu (128.36.21.1)
Last updated 23:14 9 Dec 1990
    Location: src/bin/gnu/gdb-3.4
      FILE      rw-r--r--    7740  Sep  2  1989   xgdb.c.Z

Host unido.informatik.uni-dortmund.de (129.217.64.60)
Last updated 00:37 11 Dec 1990
    Location: pub/windows/X/Diverse-X11-Sourcen
      FILE      rw-rw-r--   10402  Feb 21  1989   xgdb.tar.Z

Host giza.cis.ohio-state.edu (128.146.8.61)
Last updated 14:19 10 Dec 1990
    Location: pub/X.V11R3/contrib
      FILE      rw-r--r--  180805  Jul  5  1989   xgdb.tar.Z

Host iraun1.ira.uka.de (129.13.10.90)
Last updated 13:39 10 Dec 1990
    Location: pub/x11
      FILE      rw-r--r--       0  Jul 24 00:15   xgdb.tar.Z

Host giza.cis.ohio-state.edu (128.146.8.61)
Last updated 14:19 10 Dec 1990
    Location: pub/X.V11R3/contrib
      FILE      rw-r--r--   10403  Nov 10  1988   xgdb.tar.Z-OLD

Host ccb.ucsf.edu (128.218.1.13)
Last updated 15:39 10 Dec 1990
    Location: Gnu
      FILE      rw-r--r--    4417  Oct  2 17:02   xgdb_announce-110

So I got 3.2 and it was an old version. Nothing on the list looks
recent. So again I ask: who knows of a working xgdb for g++ 1.37.2, gdb
3.5, and X11R4?

poffen@sj.ate.slb.com (Russ Poffenberger) (01/03/91)

In article <1991Jan2.002509.15500@csis.dit.csiro.au> ken@csis.dit.csiro.au (Ken Yap) writes:
>>>I have two wishes for GNU C++. A shared library ld++ and a xgdb.
>>>Also does anybody know why gdb knows nothing about class members
>>>inside class functions? For instance I can't print "this" or any
>>>other data member. This is g++/libg++ 1.37.2 and gdb 3.5.
>>
>>
>>There is xgdb. It is part of the contrib from prep.ai.mit.edu. Make sure you
>>get the latest, and any patches (2.1 I think), previous versions had too many
>>bugs to be useful.
>
>Ok, I looked and didn't find it there. So I asked archie and it said:
>
>Date:    Tue, 1 Jan 91 18:27:53 EST
>To:      <ken@tucana.csis.dit.csiro.au>
>From:    archie@quiche
>Subject: archie reply: prog xgdb.*  
>
>Search request for 'xgdb.*'
>
>
>Host unido.informatik.uni-dortmund.de (129.217.64.60)
>Last updated 00:37 11 Dec 1990
>    Location: pub/gnu/gdb
>      FILE      rw-rw-r--  333548  Jul 17  1989   xgdb3.2.tar.Z
>

[stuff deleted]

>So I got 3.2 and it was an old version. Nothing on the list looks
>recent. So again I ask: who knows of a working xgdb for g++ 1.37.2, gdb
>3.5, and X11R4?

What you have to realize is that xgdb is just a FRONT END for gdb. You need the
correct gdb version in your path for what you want to do. xgdb just spawns this
as a sophisticated I/O window for it.

I believe the latest reasonably good version is on expo.lcs.mit.edu under
contrib/xgdb.2.1.tar.Z.


Russ Poffenberger               DOMAIN: poffen@sj.ate.slb.com
Schlumberger Technologies       UUCP:   {uunet,decwrl,amdahl}!sjsca4!poffen
1601 Technology Drive		CIS:	72401,276
San Jose, Ca. 95110             (408)437-5254