Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- qemu-system-i386 -cdrom out/SimpleOS.iso -no-shutdown -no-reboot -S -s -d int >dbg.log 2>&1 &
- QEMU_PID=$!
- gdb out/isodir/boot/SimpleOS.bin \
- -ex 'target remote localhost:1234' \
- -ex 'layout src' \
- -ex 'layout regs' \
- -ex 'break *kmain' \
- -ex 'continue'
- stty sane
- if ps -p $QEMU_PID >/dev/null
- then
- kill -9 $QEMU_PID >/dev/null
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement