X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fdebug-int.lisp;h=d58a2c25ab52492bae9f22342b8e5bb7de8bb43b;hb=ba2e958087d35c7cb34c965ba61bb4821ca65bc8;hp=7134607852b185736e515eafda1763859b8425c2;hpb=f5c7c1e83c3a51562b908e57487bf2b3fa9ea3eb;p=sbcl.git diff --git a/src/code/debug-int.lisp b/src/code/debug-int.lisp index 7134607..d58a2c2 100644 --- a/src/code/debug-int.lisp +++ b/src/code/debug-int.lisp @@ -1002,8 +1002,9 @@ register." ;; This conditional logic should probably go into ;; architecture specific files somehow. #!+ppc (sap-int (sb!vm::context-lr scp)) - #!-(or ppc) (- (sb!vm:context-register scp sb!vm::lra-offset) - sb!vm:other-pointer-lowtag)) + #!+sparc (+ (sb!vm:context-register scp sb!vm::lip-offset) 8) + #!-(or ppc sparc) (- (sb!vm:context-register scp sb!vm::lra-offset) + sb!vm:other-pointer-lowtag)) (code-header-len (* (get-header-data code) sb!vm:n-word-bytes))) (values (- return-machine-address