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

Function db_ss

freebsd/i386/i386/db_trace.c:174–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172}
173
174static int
175db_ss(struct db_variable *vp, db_expr_t *valuep, int op)
176{
177
178 if (kdb_frame == NULL)
179 return (0);
180
181 if (op == DB_VAR_GET)
182 *valuep = TF_HAS_STACKREGS(kdb_frame) ? kdb_frame->tf_ss :
183 rss();
184 else if (TF_HAS_STACKREGS(kdb_frame))
185 kdb_frame->tf_ss = *valuep;
186 return (1);
187}
188
189#define NORMAL 0
190#define TRAP 1

Callers

nothing calls this directly

Calls 1

rssFunction · 0.50

Tested by

no test coverage detected