Fix tracing
authorAndy Wingo <wingo@pobox.com>
Tue, 28 Jan 2014 20:31:17 +0000 (21:31 +0100)
committerAndy Wingo <wingo@pobox.com>
Tue, 28 Jan 2014 20:31:17 +0000 (21:31 +0100)
commitae4d761f7ab0c02081a4edfb70b4199bfa077025
treea9e5849d1504b92bbb81ef85e870f6e6a0d99323
parent02c624fc09079491660317977a5f202ecc2b1fc8
Fix tracing

* module/system/vm/trace.scm (print-return): Remove frame argument.
  (trace-calls-to-procedure, trace-calls-in-procedure): Adapt callers.
* module/system/vm/traps.scm (trap-in-procedure, trap-frame-finish):
  (trap-calls-to-procedure): Since the pop continuation hook is now
  called after the continuation is popped, we need to check the right
  frame.  Fixes tail-calls in the trace root, and probably other things.
module/system/vm/trace.scm
module/system/vm/traps.scm