show userland stack with mdb from system core file
It is possible to show the stack of a userland process from system core like mdb attached to a running process with option -p?
I have crash dump and can show the stack of the process in kernel with
> 0t2345::pid2proc | ::walk thread | ::findstack
but this show only the stack in kernel with a syscall on top.
I can switch the context to the process
> 2345::context
debugger context set to proc ffffff03d6bf3038
> ::status
debugging PID 2345 (32-bit) in kernel crash dump
executable file: /usr/sbin/mydeamon
but there the command ::stacks do not work
> ::stacks
mdb: failed to read 'allthreads': unknown symbol name