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

Function db_esp

freebsd/i386/i386/db_trace.c:140–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138}
139
140static int
141db_esp(struct db_variable *vp, db_expr_t *valuep, int op)
142{
143
144 if (kdb_frame == NULL)
145 return (0);
146
147 if (op == DB_VAR_GET)
148 *valuep = get_esp(kdb_frame);
149 else if (TF_HAS_STACKREGS(kdb_frame))
150 kdb_frame->tf_esp = *valuep;
151 return (1);
152}
153
154static int
155db_gs(struct db_variable *vp, db_expr_t *valuep, int op)

Callers

nothing calls this directly

Calls 1

get_espFunction · 0.85

Tested by

no test coverage detected