Better backtraces from C, especially for optimized closures
authorAndy Wingo <wingo@pobox.com>
Wed, 16 Apr 2014 12:33:20 +0000 (14:33 +0200)
committerAndy Wingo <wingo@pobox.com>
Wed, 16 Apr 2014 12:33:20 +0000 (14:33 +0200)
commit4819276185a35001d56af93177fc29a6a7700000
tree8f7a38f23d453dc9e4f9eef3368790ab8c88b64f
parentd856931d8dedf3aeea2f5e8d530f43162b9dfaa5
Better backtraces from C, especially for optimized closures

* libguile/frames.h:
* libguile/frames.c (scm_frame_call_representation): New interface;
  dispatches to Scheme.

* libguile/backtrace.c (display_application): Use
  scm_frame_call_representation.  This should be monotonically better,
  given that scm_frame_arguments (which was previously called) also
  dispatched to Scheme and actually ended up calling
  frame-call-representation.
libguile/backtrace.c
libguile/frames.c
libguile/frames.h