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

Function get_esp

freebsd/i386/i386/db_trace.c:82–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80struct db_variable *db_eregs = db_regs + nitems(db_regs);
81
82static __inline int
83get_esp(struct trapframe *tf)
84{
85 return (TF_HAS_STACKREGS(tf) ? tf->tf_esp : (intptr_t)&tf->tf_esp);
86}
87
88static int
89db_frame(struct db_variable *vp, db_expr_t *valuep, int op)

Callers 3

db_espFunction · 0.85
db_nextframeFunction · 0.85
db_backtraceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected