Print the address of the base of the stackframe in DDB backtrace output.

Approved by: imp (mentor)
This commit is contained in:
Neel Natu 2010-01-26 03:24:11 +00:00
parent 3dae97d413
commit 358be222bc

View File

@ -344,7 +344,7 @@ stacktrace_subr(register_t pc, register_t sp, register_t ra,
(*printfn)("?");
}
(*printfn) (") ra %x sz %d\n", ra, stksize);
(*printfn) (") ra %x sp %x sz %d\n", ra, sp, stksize);
if (ra) {
if (pc == ra && stksize == 0)