Subject: Re: remote GDB of kernel
To: Laine Stump <>
From: Bill Studenmund <>
List: current-users
Date: 12/06/1999 10:20:19
On Mon, 6 Dec 1999, Laine Stump wrote:

> At 07:46 AM 12/6/99 -0600, Greg Oster wrote:
> >
> >My /etc/ttys for tty01 looks like:
> >tty01   "/usr/libexec/getty std.9600"   unknown off secure local 
> >
> >(I seem to recal that the 'local' part was important)
> >
> That seemed unlikely to me when I first saw it (after all, why should a the
> settings in /etc/ttys of a tty marked as "off" matter to gdb, which never
> reads that file?), but it turned out to be the magic key! So, I can now
> remote gdb the kernel.

The reason it matters is that ttyflags reads the file, even the lines
which are off (though not the comment lines). Setting "local" makes the
tty driver not wait for DTR to be set. Depending on your null modem cable,
this could be importamt. :-)

Take care,