From owner-freebsd-hackers Sat Mar 27 19:23:55 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from cygnus.rush.net (cygnus.rush.net [209.45.245.133]) by hub.freebsd.org (Postfix) with ESMTP id 102BC152C3 for ; Sat, 27 Mar 1999 19:23:53 -0800 (PST) (envelope-from bright@rush.net) Received: from localhost (bright@localhost) by cygnus.rush.net (8.9.3/8.9.3) with SMTP id WAA16693; Sat, 27 Mar 1999 22:31:48 -0500 (EST) Date: Sat, 27 Mar 1999 22:31:46 -0500 (EST) From: Alfred Perlstein To: "Jordan K. Hubbard" Cc: hackers@FreeBSD.ORG Subject: Re: serial consol AND remote gdb possible? In-Reply-To: <34263.922583796@zippy.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 27 Mar 1999, Jordan K. Hubbard wrote: > > I've been trying several combinations of flags to get > > one serial port to be my DDB/system console and > > the other to be my remote GDB port. > > ddb/gdb go on the same port - you can't split functionalty along those > lines. This is what i was asking you about via irc, I think it can be done, the alpha port seems to do it but not in any configurable way. I'll figure it out and should have diffs in less than a day. What i'm planning on is finding out where the sio flags are first examined then hindged on the GDB ifdef setting the value for the serial port. The thing is that the man page is not very specific of what 0x40 really means: 0x00040 device is reserved for low-level IO (e. g. for remote kernel debugging) besides kernel debugging, what else could 0x40 be used for? I don't want to step on anyone's toes by making it _only_ signify GDB.... :) Would there be a better way to specify which port GDB is to be run on? What would be your preferance? (GDB_SIO=1 ?, flags?) thanks, -Alfred > > - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message