aboutsummaryrefslogtreecommitdiff
path: root/run_qemu_debug.sh
diff options
context:
space:
mode:
authorAlex Auvolat <alex.auvolat@ens.fr>2014-12-06 18:39:12 +0100
committerAlex Auvolat <alex.auvolat@ens.fr>2014-12-06 18:39:12 +0100
commitff27e3d5ca61fb6234b0876dc3368d0e5dfc5a95 (patch)
treee7945b5cae3925ae50082da7b80e9b3caf914fa4 /run_qemu_debug.sh
parent274765f7daa3cc1094f9f26196fcf2b9a5289ee2 (diff)
downloadkogata-ff27e3d5ca61fb6234b0876dc3368d0e5dfc5a95.tar.gz
kogata-ff27e3d5ca61fb6234b0876dc3368d0e5dfc5a95.zip
Trying to track an annoying bug.
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)