Skip to content

Commit

Permalink
Fix scanning of threads
Browse files Browse the repository at this point in the history
  • Loading branch information
froggey committed Sep 18, 2018
1 parent e87d765 commit a6ea7d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lldb.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
(format t "Count #x~S not a fixnum?~%" (mezzano.supervisor:thread-state-rcx thread))
(return-from fetch-thread-return-values '(:thread-in-strange-state)))
(dotimes (i (max 0 (- count 5)))
(push (%object-ref-t thread (+ mezzano.supervisor::+thread-mv-slots-start+ i)) vals))
(push (%object-ref-t thread (+ mezzano.supervisor::+thread-mv-slots+ i)) vals))
(subseq (reverse vals) 0 count)))

(defparameter *step-special-functions*
Expand Down
2 changes: 1 addition & 1 deletion system/gc.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,7 @@ This is required to make the GC interrupt safe."
(n-mv-area-values (max 0 (- n-values 5))))
(scavenge-many (+ (ash (%pointer-field thread) 4)
8
(* mezzano.supervisor::+thread-mv-slots-start+ 8))
(* mezzano.supervisor::+thread-mv-slots+ 8))
n-mv-area-values
cycle-kind)))
(when (eql incoming-arguments :rcx)
Expand Down

0 comments on commit a6ea7d3

Please sign in to comment.