Subject: Re: ddb and remote gdb
To: Kamal Prasad <kamalpr@yahoo.com>
From: Luke Mewburn <lukem@wasabisystems.com>
List: tech-kern
Date: 05/31/2002 11:28:48
On Thu, May 30, 2002 at 02:28:27PM -0700, Kamal Prasad wrote:
  | It looks like Freebsd allows user to toggle between
  | ddb and remote gdb. This is unlike netbd, where we
  | need to define the compile time option as to whether
  | we want DDB or KGDB.
  |  the problem with this feature is that in kgdb mode,
  | the system will wait for a 'c' on the remote machine's
  | gdb prompt before continuing with the boot-up and will
  | be stuck if there is no remote machine on the serial
  | port. Im interested in getting the system up with no
  | remote machine attached to the serial port and to plug
  | into the machine's serial port only in case of a
  | panic.
  | is there any architectural reason why this
  | cannot/isn't done in netbsd? Id appreciare any help on
  | this.

I know the issue that you're describing.

Yes, something like FreeBSD's ability to "continue" a machine
waiting in the "kgdb serial wait" from the local console (in a
ddb-like) fashion would be useful.

Luke.