Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Mar 1995 11:32:04 -0500 (EST)
From:      Chuck Robey <chuckr@Glue.umd.edu>
To:        gj@FreeBSD.org
Cc:        chuckr%Glue.umd.edu@inet-gw-1.pa.dec.com, questions%freebsd.org@inet-gw-1.pa.dec.com
Subject:   Re: Debugging 
Message-ID:  <Pine.SUN.3.91.950320112845.17706B-100000@espresso.eng.umd.edu>
In-Reply-To: <m0rqgUa-0005P7C@rks32.pcs.dec.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 20 Mar 1995, gj%pcs.dec.com@inet-gw-1.pa.dec.com wrote:

> > I am trying to jazz up by debugging facilities here, on my 2.0R machine.
> > I got hold of gdb-4.13 from prep.ai.mit.edu, and something I had 
> > recommended to me, ups (from a site in England, forget which).  In trying 
> > to build the new version of gdb, I found it doesn't know what FreeBSD is, 
> > although (by looking in the config.sub) it has entries for both Netbsd 
> > and 386bsd.  Does anyone happen to know if there is a better config.sub 
> > around, or maybe which might be a good substitute, netbsd or 386bsd?
> 
> I would suggest using the gdb from -current, it compiles "out-of-the-box"
> and has some additional functionality like attach/detach and kernel debugging.
> It's in /usr/src/gnu/usr.bin/gdb on freefall.cdrom.com.
> 
> If you really want to use ups then grab the ups port from ftp.cdrom.com:
> /pub/FreeBSD/incoming/ups-port.tgz. This has patches to stock gdb-4.13
> to support FreeBSD (but the new features from gdb-current aren't supported).
> 
> ups won't work with the gdb from -current because it would require massive
> munging of the perl scripts to get it to work and no-one has considered it
> important enough to do this.
> 
> If you want to do this, then you're more than welcome to do so :)

Getting help from Brian Litzinger, I have gdb 4.13 and ups built here 
now, using that script also.  I can't yet get it installed, but I hope 
that won't really take forever.  I was noticing your post about tgdb 
also, I would like to contrast the two, but the location your put the 
tgdb binary isn't publically available.  On purpose (it wasn't safe for 
general consumption?) or accident?  Could I get it?

Thanks

----------------------------+-----------------------------------------------
Chuck Robey                 | Interests include any kind of voice or data 
chuckr@eng.umd.edu          | communications topic, C programming, and Unix.
7608 Topton St.             |
New Carrollton, MD 20784    | I run Journey2 (Freebsd 2.0) and n3lxx
(301) 459-2316              | (FreeBSD 1.1.5.1) and am I happy!
----------------------------+-----------------------------------------------




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SUN.3.91.950320112845.17706B-100000>