From owner-freebsd-current Sat Dec 27 19:40:30 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA12658 for current-outgoing; Sat, 27 Dec 1997 19:40:30 -0800 (PST) (envelope-from owner-freebsd-current) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id TAA12652 for ; Sat, 27 Dec 1997 19:40:26 -0800 (PST) (envelope-from julian@whistle.com) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id TAA20457; Sat, 27 Dec 1997 19:34:21 -0800 (PST) Received: from UNKNOWN(), claiming to be "current1.whistle.com" via SMTP by alpo.whistle.com, id smtpd020455; Sat Dec 27 19:34:20 1997 Date: Sat, 27 Dec 1997 19:31:23 -0800 (PST) From: Julian Elischer To: Greg Lehey cc: Bruce Evans , skynyrd@opus.cts.cwu.edu, freebsd-current@FreeBSD.ORG Subject: Re: Remote gdb (was: no boot: config -g and options DDB) In-Reply-To: <19971228125401.34698@lemis.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk My remote gdb setup.. on the master machine: I use the following .gdbinit file in the compile directory. --- file kernel set remotebaud 9600 target remote /dev/cuaa1 --- on the victim machine: boot with a kernel with flags 0x10 compiled on sio0, and options DDB boot with options -dg as soon as you type that on the Boot: prompt, quickly enter gdb in the compile directory. it will pick up the .gdbinit file and things should work.. * check you can 'cu' or 'tip' between the machines using that serial cable first.