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

Function db_print_stack_entry

freebsd/amd64/amd64/db_trace.c:136–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134int amd64_clr_watch(int watchnum, struct dbreg *d);
135
136static void
137db_print_stack_entry(const char *name, db_addr_t callpc, void *frame)
138{
139
140 db_printf("%s() at ", name != NULL ? name : "??");
141 db_printsym(callpc, DB_STGY_PROC);
142 if (frame != NULL)
143 db_printf("/frame 0x%lx", (register_t)frame);
144 db_printf("\n");
145}
146
147static void
148decode_syscall(int number, struct thread *td)

Callers 2

db_nextframeFunction · 0.70
db_backtraceFunction · 0.70

Calls 2

db_printfFunction · 0.85
db_printsymFunction · 0.85

Tested by

no test coverage detected