Print the address of the base of the stackframe in DDB backtrace output.
Approved by: imp (mentor)
This commit is contained in:
parent
3dae97d413
commit
358be222bc
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user