Changeset View
Changeset View
Standalone View
Standalone View
sys/amd64/amd64/db_trace.c
Show First 20 Lines • Show All 392 Lines • ▼ Show 20 Lines | db_trace_thread(struct thread *thr, int count) | ||||
struct trapframe *tf; | struct trapframe *tf; | ||||
ctx = kdb_thr_ctx(thr); | ctx = kdb_thr_ctx(thr); | ||||
tf = thr == kdb_thread ? kdb_frame : NULL; | tf = thr == kdb_thread ? kdb_frame : NULL; | ||||
return (db_backtrace(thr, tf, (struct amd64_frame *)ctx->pcb_rbp, | return (db_backtrace(thr, tf, (struct amd64_frame *)ctx->pcb_rbp, | ||||
ctx->pcb_rip, ctx->pcb_rsp, count)); | ctx->pcb_rip, ctx->pcb_rsp, count)); | ||||
} | } | ||||
void | |||||
db_md_list_breakpoints(void) | |||||
{ | |||||
} | |||||
int | |||||
db_md_clr_breakpoint(db_expr_t addr, db_expr_t size) | |||||
{ | |||||
return (0); | |||||
} | |||||
int | |||||
db_md_set_breakpoint(db_expr_t addr, db_expr_t count) | |||||
{ | |||||
return (0); | |||||
} | |||||
int | int | ||||
amd64_set_watch(watchnum, watchaddr, size, access, d) | amd64_set_watch(watchnum, watchaddr, size, access, d) | ||||
int watchnum; | int watchnum; | ||||
unsigned long watchaddr; | unsigned long watchaddr; | ||||
int size; | int size; | ||||
int access; | int access; | ||||
struct dbreg *d; | struct dbreg *d; | ||||
{ | { | ||||
▲ Show 20 Lines • Show All 218 Lines • Show Last 20 Lines |