Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Sep 2002 19:24:33 -0700 (PDT)
From:      John Polstra <jdp@polstra.com>
To:        hackers@freebsd.org
Cc:        nate@root.org
Subject:   Re: interrupting target kernel using single sio
Message-ID:  <200209120224.g8C2OXO9032528@vashon.polstra.com>
In-Reply-To: <Pine.BSF.4.21.0209111315170.22261-100000@root.org>
References:  <Pine.BSF.4.21.0209111315170.22261-100000@root.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <Pine.BSF.4.21.0209111315170.22261-100000@root.org>,
Nate Lawson  <nate@root.org> wrote:
> On Mon, 9 Sep 2002, John Polstra wrote:
> > 
> > BSD/OS has a little state machine in its sio driver which notices
> > if something looking like a kgdb packet comes in and interrupts
> > the target automatically.  It's extremely handy.  You just type
> > "target remote /dev/tty00" into kgdb and the target breaks into the
> > debugger -- no muss, no fuss.  I wish we had this feature too.  It
> > should obviously be under the control of a sysctl to protect against
> > accidental entry into the debugger.
> > 
> > Another nice thing about BSD/OS is that when you exit kgdb, the target
> > OS automatically starts running again.  So you can enter and exit the
> > debugger painlessly, as many times as you'd like.
> 
> Any chance of getting that from BSD/OS?  If not, perhaps we could
> reimplement.

We used to have the BSD/OS sources on-line, and we had carte blanche
to take things from them and put them into FreeBSD.  I don't know
what the situation is now.

John
-- 
  John Polstra
  John D. Polstra & Co., Inc.                        Seattle, Washington USA
  "Disappointment is a good sign of basic intelligence."  -- Chögyam Trungpa


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?200209120224.g8C2OXO9032528>