Nick Hibma writes:
> In general it is well possible to single step anything in the
> kernel. You might find occasions where things stop working, and odd
> cases were things all of a sudden start working, but normally, apart
> from hardware things, most things are not time critical, or create
> problems through spin locks.
> 
> You can single step at boot time, by setting the flags in the loader.
> 
>       set boot_ddb    # jump to debugger
>       set boot_gdb    # use remote gdb for debugging by default

Also don't for get 'sysctl -w debug.enter_debugger=ddb' (or gdb)
to enter the debugger from the command line.

-Archie

___________________________________________________________________________
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to