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



               
                        
                                                                
                                             
#!/bin/sh

cd `dirname $0`

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