]> gitweb.factorcode.org Git - factor.git/commitdiff
bootstrap.assembler.arm.64: use 0xabcd instead of 9999 to see it in lldb
authorDoug Coleman <doug.coleman@gmail.com>
Wed, 25 Jan 2023 05:17:06 +0000 (23:17 -0600)
committerDoug Coleman <doug.coleman@gmail.com>
Wed, 25 Jan 2023 05:17:43 +0000 (23:17 -0600)
workflow from intel factor to qemu mac (set up ssh key):

USE: qw
"unix-arm.64" make-image
qw{ scp boot.unix-arm.64.image erg@192.168.64.4:factor } try-process

workflow on qemu mac:
lldb ./factor
run -i=boot.unix-arm.64.image

basis/bootstrap/assembler/arm.64.factor

index 8306971d8b4120cfe881c66b66c65875fbfec13e..08396f07400b20f7ccb2d554632e5c9cd411686c 100644 (file)
@@ -447,7 +447,7 @@ big-endian off
 ! C to Factor entry point
 [
 
-    9999 BRK
+    0xabcd BRK
     ! ! Optimizing compiler's side of callback accesses
     ! ! arguments that are on the stack via the frame pointer.
     ! ! On x86-32 fastcall, and x86-64, some arguments are passed