From owner-freebsd-questions Mon Mar 20 08:41:49 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id IAA00185 for questions-outgoing; Mon, 20 Mar 1995 08:41:49 -0800 Received: from inet-gw-1.pa.dec.com (inet-gw-1.pa.dec.com [16.1.0.22]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id IAA00179 for ; Mon, 20 Mar 1995 08:41:46 -0800 Received: from jolt.eng.umd.edu by inet-gw-1.pa.dec.com (5.65/24Feb95) id AA06501; Mon, 20 Mar 95 08:33:27 -0800 Received: from espresso.eng.umd.edu (espresso.eng.umd.edu [129.2.98.13]) by jolt.eng.umd.edu (8.6.10/8.6.4) with ESMTP id LAA01723; Mon, 20 Mar 1995 11:33:20 -0500 Received: (chuckr@localhost) by espresso.eng.umd.edu (8.6.10/8.6.4) id LAA17768; Mon, 20 Mar 1995 11:32:04 -0500 Date: Mon, 20 Mar 1995 11:32:04 -0500 (EST) From: Chuck Robey 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 In-Reply-To: Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: questions-owner@FreeBSD.org Precedence: bulk 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! ----------------------------+-----------------------------------------------