From owner-freebsd-hackers Fri Sep 1 10:20:20 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from hda.hda.com (host65.hda.com [63.104.68.65]) by hub.freebsd.org (Postfix) with ESMTP id 6ACD237B440 for ; Fri, 1 Sep 2000 10:20:17 -0700 (PDT) Received: (from dufault@localhost) by hda.hda.com (8.9.3/8.9.3) id NAA05759; Fri, 1 Sep 2000 13:21:06 -0400 (EDT) (envelope-from dufault) From: Peter Dufault Message-Id: <200009011721.NAA05759@hda.hda.com> Subject: Re: gdb remote debugging on slow computers In-Reply-To: <20000901100241.B66078@sofia.csl.sri.com> from Marco Molteni at "Sep 1, 2000 10:02:41 am" To: Marco Molteni Date: Fri, 1 Sep 2000 13:21:05 -0400 (EDT) Cc: hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On Thu, 31 Aug 2000, Peter Dufault wrote: > > [..] > > > I want to attach a gdb running on my FreeBSD system to something > > running on that wicked slow Sun. I've built a gdb with a target > > machine of "sparc-sun-solaris2.7", I've got an executable, but I > > haven't found a way to run something on the Sun that I can attach > > to in order to debug remote processes. All I've found are ways to > > connect to remote serial ports. Does anyone know if I can easily > > do this? > > I am not sure I understood your question. If you mean: How can I use > gdb + gdbserver via a TCP connection, you do the following: Yes, I've found gdbserver now, I didn't know about it. There isn't a gdbserver for sparc-sun-solaris2.7 in the distribution, after foolishly trying to quickly build one against libgdb that would support any target I've just geocrawler archive-searched and found patches specific to sparc-sun-solaris2* which I'll now try. Peter -- Peter Dufault (dufault@hda.com) Realtime development, Machine control, HD Associates, Inc. Fail-Safe systems, Agency approval To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message