| 379 | } |
| 380 | |
| 381 | int |
| 382 | db_trace_thread(struct thread *thr, int count) |
| 383 | { |
| 384 | struct pcb *ctx; |
| 385 | struct trapframe *tf; |
| 386 | |
| 387 | ctx = kdb_thr_ctx(thr); |
| 388 | tf = thr == kdb_thread ? kdb_frame : NULL; |
| 389 | return (db_backtrace(thr, tf, (struct amd64_frame *)ctx->pcb_rbp, |
| 390 | ctx->pcb_rip, ctx->pcb_rsp, count)); |
| 391 | } |
| 392 | |
| 393 | int |
| 394 | amd64_set_watch(watchnum, watchaddr, size, access, d) |
nothing calls this directly
no test coverage detected