on 20/12/2011 15:52 John Baldwin said the following:
> -#ifdef DDB
> -                     db_trace_thread(td, -1);
> +#ifdef STACK
> +                     stack_zero(&st);
> +                     stack_save_td(&st, td);
> +                     stack_print_ddb(&st);
>  #endif

This leads to an idea - what about an umbrella stack_print() that would call the
best stack printing routine, if any, based on their availabilities (STACK, DDB,
etc?).

P.S. Sorry to hijack the thread.

-- 
Andriy Gapon
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to