Get the PC from the trap frame, since it isn't saved as part of the
pcb regs.
This commit is contained in:
parent
f43da83b9d
commit
f2c23ba7c4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/projects/mips/; revision=198208
@ -420,7 +420,7 @@ db_trace_thread(struct thread *thr, int count)
|
||||
else {
|
||||
ctx = thr->td_pcb;
|
||||
sp = (register_t)ctx->pcb_context[PREG_SP];
|
||||
pc = (register_t)ctx->pcb_context[PREG_PC];
|
||||
pc = (register_t)ctx->pcb_regs.pc;
|
||||
ra = (register_t)ctx->pcb_context[PREG_RA];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user