frame-address, frame-stack-pointer return offsets
authorAndy Wingo <wingo@pobox.com>
Sun, 4 May 2014 09:46:18 +0000 (11:46 +0200)
committerAndy Wingo <wingo@pobox.com>
Sun, 4 May 2014 09:46:18 +0000 (11:46 +0200)
commit7c080187bc55e84159b99faa9b7ae9f0a8ae90d2
treef9e9f3df501113e8e6504449ec63fb8a689a826f
parent18f8fd0211714f4d18ebab4dc4b85950c97483f4
frame-address, frame-stack-pointer return offsets

* libguile/frames.c (scm_frame_address, scm_frame_stack_pointer): Return
  offsets instead of absolute pointers.  This is robust in the presence
  of stack relocation.

* module/system/repl/debug.scm (print-registers): Adapt to print sp and
  fp as integers.
libguile/frames.c
module/system/repl/debug.scm