From owner-freebsd-hackers Mon Aug 28 19:34:10 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id 08EF037B43F for ; Mon, 28 Aug 2000 19:34:06 -0700 (PDT) Received: (from grog@localhost) by wantadilla.lemis.com (8.11.0/8.9.3) id e7T2Xq412192; Tue, 29 Aug 2000 12:03:52 +0930 (CST) (envelope-from grog) Date: Tue, 29 Aug 2000 12:03:52 +0930 From: Greg Lehey To: Christopher Stein Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: remote gdb debugging Message-ID: <20000829120352.K11422@wantadilla.lemis.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from stein@eecs.harvard.edu on Mon, Aug 28, 2000 at 10:28:29PM -0400 Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Monday, 28 August 2000 at 22:28:29 -0400, Christopher Stein wrote: > > Hello, > > I have been trying to connect to a remote gdb debug session via a serial > port (null modem cable) and can't seem to get the device right. I've tried > the devices: > > /dev/ttyd* > /dev/cuaa0 (as suggested by the freebsd handbook). > > hhmmm.. any suggestions? /dev/ttyd1 worked for a 3.3/4.0-pre install in > the past, but doesn't work for this new system, which is quite similar. Nothing has changed between 4.0 and now. I've had the devil's own job in the past, and I suspect you've hit a different problem. Do you have a breakout box on the line? If so, what's it showing? Also, you've set the sio flags correctly (0x80 or 0x90) on the debugged machine, right? Greg -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message