From f79a0a1cd73968a201649a36c97333e4d98a456a Mon Sep 17 00:00:00 2001 From: Alexander Myltsev Date: Wed, 30 Nov 2022 18:11:06 +0300 Subject: [PATCH] Unified debug-boot*. --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a6c0ceb..351c481 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ run: image.bin run-nox: image.bin qemu-system-i386 -nographic -drive format=raw,file=$< -serial mon:stdio -debug-preboot-nox: image.bin mbr.elf +debug-boot-nox: image.bin mbr.elf qemu-system-i386 -nographic -drive format=raw,file=$< -s -S & $(GDB) mbr.elf \ -ex "set architecture i8086" \ @@ -28,8 +28,9 @@ debug-preboot-nox: image.bin mbr.elf debug-boot: image.bin mbr.elf qemu-system-i386 -drive format=raw,file=$< -s -S & $(GDB) mbr.elf \ + -ex "set architecture i8086" \ -ex "target remote localhost:1234" \ - -ex "break init_32bit" \ + -ex "break *0x7c00" \ -ex "continue" debug: image.bin