mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +02:00
add ,registers
* libguile/frames.h: * libguile/frames.c (scm_frame_stack_pointer): New function. * module/system/repl/debug.scm (print-registers): New function, prints out registers. * module/system/repl/command.scm (registers): New debugging meta-command. (inspect): Not a stack-command, a normal meta-command.
This commit is contained in:
parent
33002867d7
commit
542f975e60
4 changed files with 35 additions and 34 deletions
|
@ -115,6 +115,7 @@ SCM_API SCM scm_frame_num_locals (SCM frame);
|
|||
SCM_API SCM scm_frame_local_ref (SCM frame, SCM index);
|
||||
SCM_API SCM scm_frame_local_set_x (SCM frame, SCM index, SCM val);
|
||||
SCM_API SCM scm_frame_address (SCM frame);
|
||||
SCM_API SCM scm_frame_stack_pointer (SCM frame);
|
||||
SCM_API SCM scm_frame_instruction_pointer (SCM frame);
|
||||
SCM_API SCM scm_frame_return_address (SCM frame);
|
||||
SCM_API SCM scm_frame_mv_return_address (SCM frame);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue