MCPcopy Create free account
hub / github.com/F-Stack/f-stack / db_trace_thread

Function db_trace_thread

freebsd/i386/i386/db_trace.c:608–618  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

606}
607
608int
609db_trace_thread(struct thread *thr, int count)
610{
611 struct pcb *ctx;
612 struct trapframe *tf;
613
614 ctx = kdb_thr_ctx(thr);
615 tf = thr == kdb_thread ? kdb_frame : NULL;
616 return (db_backtrace(thr, tf, (struct i386_frame *)ctx->pcb_ebp,
617 ctx->pcb_eip, ctx->pcb_esp, count));
618}
619
620int
621i386_set_watch(watchnum, watchaddr, size, access, d)

Callers

nothing calls this directly

Calls 2

kdb_thr_ctxFunction · 0.85
db_backtraceFunction · 0.70

Tested by

no test coverage detected