2010/9/21 Andriy Gapon <a...@freebsd.org>: > on 21/09/2010 18:17 m...@freebsd.org said the following: >> I'd recommend using stack_print_ddb(), as that avoids any locking >> which may hang depending on how the kernel panic'd. > > How does the following look to you? > I hope I haven't freed too much from under DDB. > The patch compiles fine with STACK && !DDB.
In general, if you really want to go with that route, I'd rename the functions with _unlocked() prefix (there is actually no need to tell they are _ddb specific) and maybe add _ddb() wrappers, you can have more opinions. Thanks, Attilio -- Peace can only be achieved by understanding - A. Einstein _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"