Subject: Re: ddb_trap_hook
To: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-xen
Date: 11/23/2005 15:45:24
On Wed, Nov 23, 2005 at 10:07:40PM +0900, YAMAMOTO Takashi wrote:
> > You can still use dmesg to get what was before the trace
> 
> not all messages are from kernel.

Right

> > when desireable.
> 
> the attached patch is enough for you?
> usage: options DDB_COMMANDONENTER="tr;sh re"

Yes, this looks great. Thanks !

I could even use "tr;reboot(0x104)" on servers with serial console :)

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--