mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-02 13:00:26 +02:00
Stack traces skip RTL boot frames
* libguile/frames.c (frame-previous) * libguile/stacks.c (make-stack): Skip RTL boot frames.
This commit is contained in:
parent
9d87158fdb
commit
361d0de285
2 changed files with 5 additions and 3 deletions
|
@ -334,7 +334,8 @@ SCM_DEFINE (scm_frame_previous, "frame-previous", 1, 0, 0,
|
|||
SCM_VM_FRAME_OFFSET (frame));
|
||||
proc = scm_frame_procedure (frame);
|
||||
|
||||
if (SCM_PROGRAM_P (proc) && SCM_PROGRAM_IS_BOOT (proc))
|
||||
if ((SCM_PROGRAM_P (proc) || SCM_RTL_PROGRAM_P (proc))
|
||||
&& SCM_PROGRAM_IS_BOOT (proc))
|
||||
goto again;
|
||||
else
|
||||
return frame;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue