aboutsummaryrefslogtreecommitdiff
path: root/run_qemu_debug.sh
blob: b429471955f4814fc423da92d7b68db9b274c5ee (plain) (blame)
1
2
3
4
5
6
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)