aboutsummaryrefslogtreecommitdiff
path: root/run_qemu_debug.sh
diff options
context:
space:
mode:
authorAlex Auvolat <alex.auvolat@ens.fr>2014-12-01 17:27:57 +0100
committerAlex Auvolat <alex.auvolat@ens.fr>2014-12-01 17:27:57 +0100
commit8f936e07ecb5af4053ad7d457a32e69695cb357e (patch)
treeadfbe0b73f18145379301de6e1b4452a01a11cd1 /run_qemu_debug.sh
parent0921a33fc9f3724cb36a03a24b58b0a5bfc519b1 (diff)
downloadkogata-8f936e07ecb5af4053ad7d457a32e69695cb357e.tar.gz
kogata-8f936e07ecb5af4053ad7d457a32e69695cb357e.zip
Change qemu/bochs launch scripts.
Diffstat (limited to 'run_qemu_debug.sh')
-rwxr-xr-xrun_qemu_debug.sh7
1 files changed, 7 insertions, 0 deletions
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)