aboutsummaryrefslogblamecommitdiff
path: root/run_qemu_debug.sh
blob: 9e84613bb7a30aad332d641d3deb585ece373bd9 (plain) (tree)
1
2
3
4
5
6
7
8



               



                                                                    
#!/bin/sh

cd `dirname $0`

make -C src/common || exit 1
make -C src/kernel || 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)