aboutsummaryrefslogtreecommitdiff
path: root/run_qemu_debug.sh
blob: 16c03118aa067cad1d9f9d9eb141ba7e0a8051c3 (plain) (blame)
1
2
3
4
5
6
7
#!/bin/sh

cd `dirname $0`

make || exit 1
qemu-system-i386 -kernel src/kernel/kernel.bin -serial stdio -s -S &
(sleep 0.1; gdb src/kernel/kernel.bin -x gdb_cmd)