diff options
| author | Ada Christine <adachristine18@gmail.com> | 2022-02-15 21:52:18 +0000 |
|---|---|---|
| committer | Ada Christine <adachristine18@gmail.com> | 2022-02-15 21:52:18 +0000 |
| commit | b9c58864298ebdf858248cfe79d972dbbe1a7331 (patch) | |
| tree | f1de6070b89213a9d2c444beacdbc69c686d582c | |
| parent | 6c5ecf313f5b6c0628ae04fef060708a57515445 (diff) | |
debug changes
| -rw-r--r-- | .gdbinit | 3 | ||||
| -rwxr-xr-x | debug.sh | 4 |
2 files changed, 3 insertions, 4 deletions
@@ -1,4 +1,3 @@ target remote localhost:1234 -symbol-file kernel/kernel.os -break kernel_entry +add-symbol-file kc/core/kernel.os 0xffffffff80001000 -s .data 0xffffffff80005000 @@ -6,9 +6,9 @@ make -C loader && ./image.sh && -qemu-system-x86_64 -cpu qemu64 \ +qemu-system-x86_64 -d int \ -drive if=pflash,format=raw,unit=0,file=/usr/share/ovmf/x64/OVMF_CODE.fd,readonly=on \ -drive if=pflash,format=raw,unit=1,file=OVMF_VARS.fd \ -net none -drive file=uefi.img,if=ide,format=raw -monitor stdio \ - -serial file:sophia.log -d int -no-shutdown -no-reboot -s -S + -serial file:sophia.log -no-shutdown -no-reboot -s -S |
