svn commit: r222801 - in head/sys: ddb kern sys

Garrett Cooper yanegomi at
Tue Jun 7 01:30:50 UTC 2011

On Mon, Jun 6, 2011 at 6:28 PM, Marcel Moolenaar <marcel at> wrote:
> Author: marcel
> Date: Tue Jun  7 01:28:12 2011
> New Revision: 222801
> URL:
> Log:
>  Fix making kernel dumps from the debugger by creating a command
>  for it. Do not not expect a developer to call doadump(). Calling
>  doadump does not necessarily work when it's declared static. Nor
>  does it necessarily do what was intended in the context of text
>  dumps. The dump command always creates a core dump.
>  Move printing of error messages from doadump to the dump command,
>  now that we don't have to worry about being called from DDB.
> Modified:
>  head/sys/ddb/db_command.c
>  head/sys/kern/kern_shutdown.c
>  head/sys/sys/conf.h

You rock Marcel!

More information about the svn-src-head mailing list