aboutsummaryrefslogtreecommitdiff
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
parent0921a33fc9f3724cb36a03a24b58b0a5bfc519b1 (diff)
downloadkogata-8f936e07ecb5af4053ad7d457a32e69695cb357e.tar.gz
kogata-8f936e07ecb5af4053ad7d457a32e69695cb357e.zip
Change qemu/bochs launch scripts.
-rw-r--r--bochs_debug.cfg (renamed from bochs.cfg)0
-rwxr-xr-xrun_bochs_debug.sh (renamed from run_bochs.sh)2
-rwxr-xr-xrun_qemu.sh3
-rwxr-xr-xrun_qemu_debug.sh7
4 files changed, 9 insertions, 3 deletions
diff --git a/bochs.cfg b/bochs_debug.cfg
index 977a459..977a459 100644
--- a/bochs.cfg
+++ b/bochs_debug.cfg
diff --git a/run_bochs.sh b/run_bochs_debug.sh
index f692947..848feb5 100755
--- a/run_bochs.sh
+++ b/run_bochs_debug.sh
@@ -4,4 +4,4 @@ cd `dirname $0`
make -C kernel
./make_cdrom.sh
-bochs -f bochs.cfg -q
+bochs -f bochs_debug.cfg -q
diff --git a/run_qemu.sh b/run_qemu.sh
index b429471..c0b6906 100755
--- a/run_qemu.sh
+++ b/run_qemu.sh
@@ -3,5 +3,4 @@
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)
+qemu-system-i386 -kernel kernel/kernel.bin -serial stdio
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)