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

Function db_trace_thread

freebsd/amd64/amd64/db_trace.c:381–391  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

379}
380
381int
382db_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
393int
394amd64_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