| 435 | } |
| 436 | |
| 437 | int |
| 438 | db_trace_thread(struct thread *thr, int count) |
| 439 | { |
| 440 | register_t pc, ra, sp; |
| 441 | struct pcb *ctx; |
| 442 | |
| 443 | ctx = kdb_thr_ctx(thr); |
| 444 | sp = (register_t)ctx->pcb_context[PCB_REG_SP]; |
| 445 | pc = (register_t)ctx->pcb_context[PCB_REG_PC]; |
| 446 | ra = (register_t)ctx->pcb_context[PCB_REG_RA]; |
| 447 | stacktrace_subr(pc, sp, ra); |
| 448 | |
| 449 | return (0); |
| 450 | } |
| 451 | |
| 452 | void |
| 453 | db_show_mdpcpu(struct pcpu *pc) |
nothing calls this directly
no test coverage detected