aboutsummaryrefslogtreecommitdiff
path: root/run_qemu.sh
diff options
context:
space:
mode:
Diffstat (limited to 'run_qemu.sh')
-rwxr-xr-xrun_qemu.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/run_qemu.sh b/run_qemu.sh
new file mode 100755
index 0000000..b429471
--- /dev/null
+++ b/run_qemu.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)