diff options
-rw-r--r-- | bochs_debug.cfg (renamed from bochs.cfg) | 0 | ||||
-rwxr-xr-x | run_bochs_debug.sh (renamed from run_bochs.sh) | 2 | ||||
-rwxr-xr-x | run_qemu.sh | 3 | ||||
-rwxr-xr-x | run_qemu_debug.sh | 7 |
4 files changed, 9 insertions, 3 deletions
diff --git a/bochs.cfg b/bochs_debug.cfg index 977a459..977a459 100644 --- a/bochs.cfg +++ b/bochs_debug.cfg diff --git a/run_bochs.sh b/run_bochs_debug.sh index f692947..848feb5 100755 --- a/run_bochs.sh +++ b/run_bochs_debug.sh @@ -4,4 +4,4 @@ cd `dirname $0` make -C kernel ./make_cdrom.sh -bochs -f bochs.cfg -q +bochs -f bochs_debug.cfg -q diff --git a/run_qemu.sh b/run_qemu.sh index b429471..c0b6906 100755 --- a/run_qemu.sh +++ b/run_qemu.sh @@ -3,5 +3,4 @@ cd `dirname $0` make -C kernel -qemu-system-i386 -kernel kernel/kernel.bin -serial stdio -s -S & -(sleep 0.1; gdb kernel.bin -x gdb_cmd) +qemu-system-i386 -kernel kernel/kernel.bin -serial stdio diff --git a/run_qemu_debug.sh b/run_qemu_debug.sh new file mode 100755 index 0000000..b429471 --- /dev/null +++ b/run_qemu_debug.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +cd `dirname $0` + +make -C kernel +qemu-system-i386 -kernel kernel/kernel.bin -serial stdio -s -S & +(sleep 0.1; gdb kernel.bin -x gdb_cmd) |