Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Mar 1999 22:31:46 -0500 (EST)
From:      Alfred Perlstein <bright@rush.net>
To:        "Jordan K. Hubbard" <jkh@zippy.cdrom.com>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: serial consol AND remote gdb possible? 
Message-ID:  <Pine.BSF.3.96.990327221804.4169f-100000@cygnus.rush.net>
In-Reply-To: <34263.922583796@zippy.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990327221804.4169f-100000>