mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-10 05:50:26 +02:00
stepping traps use frame-next-source, not frame-source
* module/system/vm/trap-state.scm (add-ephemeral-stepping-trap!): Use frame-next-source in stepping traps.
This commit is contained in:
parent
b262b74b51
commit
9b78275eb0
1 changed files with 2 additions and 2 deletions
|
@ -275,13 +275,13 @@
|
|||
(and (<= (frame-address f) fp)
|
||||
(predicate f))))))
|
||||
|
||||
(let* ((source (frame-source frame))
|
||||
(let* ((source (frame-next-source frame))
|
||||
(idx (next-ephemeral-index! trap-state))
|
||||
(trap (trap-matching-instructions
|
||||
(wrap-predicate-according-to-into
|
||||
(if instruction?
|
||||
(lambda (f) #t)
|
||||
(lambda (f) (not (equal? (frame-source f) source)))))
|
||||
(lambda (f) (not (equal? (frame-next-source f) source)))))
|
||||
(ephemeral-handler-for-index trap-state idx handler))))
|
||||
(add-trap-wrapper!
|
||||
trap-state
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue