From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 14:49:13 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0711A16A41F for ; Fri, 30 Dec 2005 14:49:13 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail2.sea5.speakeasy.net (mail2.sea5.speakeasy.net [69.17.117.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6787843D67 for ; Fri, 30 Dec 2005 14:49:12 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 1292 invoked from network); 30 Dec 2005 14:49:12 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail2.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 30 Dec 2005 14:49:11 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id CA9B928423; Fri, 30 Dec 2005 09:49:10 -0500 (EST) Sender: lowell@be-well.ilk.org To: Paul Marciano References: <20051228194721.83672.qmail@web54009.mail.yahoo.com> From: Lowell Gilbert Date: 30 Dec 2005 09:49:10 -0500 In-Reply-To: <20051228194721.83672.qmail@web54009.mail.yahoo.com> Message-ID: <44bqyyk5cp.fsf@be-well.ilk.org> Lines: 41 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: How do I get gdbserver for FreeBSD 5.4? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2005 14:49:13 -0000 Paul Marciano writes: > I am using FreeBSD 5.4-RELEASE and would like to use > gdbserver, but I can't find it. > > The source tree has gdbserver in two places: > > /usr/src/contrib/gdb/gdb/gdbserver > and > /usr/src/gnu/usr.bin/binutils/gdbserver The sources are actually in the second; the first is just build infrastructure. Note that they're not hooked up to the master build; David O'Brien removed them from the makefiles in 2002, apparently as part of bringing in the Gnu binutils 2.12. http://www.freebsd.org/cgi/cvsweb.cgi/src/gnu/usr.bin/binutils/Makefile > There's also a gdb6 in /usr/ports/devel. Yes, but that doesn't include gdbserver either. > > The installed gdb says its version 6.1.1, and it looks > like the /usr/src/contrib/gdb tree is also 6.1.1, but > there's no configure script or Makefile. Is this tree > a patch for the usr/ports/devel/gdb6? No. It's the sources for gdbserver, but not ported to build on FreeBSD. > I'm a bit lost right now. I hope someone can help me > find my way. gdbserver isn't currently ported for FreeBSD. If you really need it (as opposed to some other form of remote debugging), you could probably best get started by asking obrien for hints. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/