[kaffe] Re: flestmail - daily - 365/365 passed (100.0%) (0 errors,
0 failures)
Timothy Stack
stack@cs.utah.edu
Tue, 17 Sep 2002 12:42:57 -0600
Timothy Stack wrote:
> For the jitter, this gets set by buildStackTrace in stackTrace.c:
>
> info[cnt].pc = STACKTRACEPC(trace);
>
> So, it uses the return pc found in the stack trace, which corresponds to
> the next instruction to execute.
er, spoke too quickly. For a synchronous interrupt and subsequent
exception, this will be the current instruction. But, for a regular
throw, it will be the next pc.
But, the i386 freebsd and linux exception frame initializers add a one
to the current pc:
/* Get the first exception frame from a signal handler */
#define
EXCEPTIONFRAME(f, c) \
(f).retbp = (c)->sc_ebp; \
(f).retpc = (c)->sc_eip + 1
> tim stack
again,
tim stack