aboutsummaryrefslogtreecommitdiff
path: root/run_qemu_debug.sh
diff options
context:
space:
mode:
Diffstat (limited to 'run_qemu_debug.sh')
-rwxr-xr-xrun_qemu_debug.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/run_qemu_debug.sh b/run_qemu_debug.sh
index b429471..71ee6d3 100755
--- a/run_qemu_debug.sh
+++ b/run_qemu_debug.sh
@@ -2,6 +2,6 @@
cd `dirname $0`
-make -C kernel
+make -C kernel || exit 1
qemu-system-i386 -kernel kernel/kernel.bin -serial stdio -s -S &
-(sleep 0.1; gdb kernel.bin -x gdb_cmd)
+(sleep 0.1; gdb kernel/kernel.bin -x gdb_cmd)