diff options
Diffstat (limited to 'run_qemu_debug.sh')
-rwxr-xr-x | run_qemu_debug.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/run_qemu_debug.sh b/run_qemu_debug.sh index 71ee6d3..9e84613 100755 --- a/run_qemu_debug.sh +++ b/run_qemu_debug.sh @@ -2,6 +2,7 @@ cd `dirname $0` -make -C kernel || exit 1 -qemu-system-i386 -kernel kernel/kernel.bin -serial stdio -s -S & -(sleep 0.1; gdb kernel/kernel.bin -x gdb_cmd) +make -C src/common || exit 1 +make -C src/kernel || exit 1 +qemu-system-i386 -kernel src/kernel/kernel.bin -serial stdio -s -S & +(sleep 0.1; gdb src/kernel/kernel.bin -x gdb_cmd) |