better RTL debugging
authorAndy Wingo <wingo@pobox.com>
Fri, 4 Oct 2013 17:55:12 +0000 (19:55 +0200)
committerAndy Wingo <wingo@pobox.com>
Fri, 4 Oct 2013 17:55:12 +0000 (19:55 +0200)
commitf8fb13ef8c3c491983a90bfcfac1257e93a8186d
treefa4a381a0286626277664500f08f4aae21bd0063
parentfea115c33f35b95c89ebb9142faaa06a43d83036
better RTL debugging

* libguile/frames.c (scm_frame_source, scm_frame_instruction_pointer):
  Fix to work with RTL programs.

* module/system/vm/debug.scm (find-debug-context): Allow for the
  possibility of there being no ELF image.
  (find-program-debug-info, find-program-arities)
  (program-minimum-arity, find-program-docstring)
  (find-program-properties, find-source-for-addr)
  (find-program-die, find-program-sources): Don't bail if we couldn't
  get the debug context.

* module/system/vm/frame.scm (frame-next-source)
  (frame-call-representation): Allow RTL programs.

* module/system/vm/program.scm (program-arguments-alist): Placeholder
  implementation for RTL programs.
  (program-arguments-alists): Don't bail if we couldn't get the
  arities.
libguile/frames.c
module/system/vm/debug.scm
module/system/vm/frame.scm
module/system/vm/program.scm