GDB Integrated.

git-svn-id: https://spexeah.com:8443/svn/Asuro@25 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
kieron
2017-05-16 13:44:01 +00:00
parent 2ce7ccc265
commit 1ae066b2e2
5 changed files with 16 additions and 8 deletions

10
run.sh
View File

@ -6,7 +6,15 @@ echo "== ASURO OPERATION =="
echo "======================="
echo " "
echo "Running Asaro..."
qemu-system-i386 -cdrom Asuro.iso
if [ "$1" = "-d" ]
then
qemu-system-i386 -s -S -cdrom Asuro.iso&
sleep 1
gdb -ex "target remote localhost:1234"
else
qemu-system-i386 -cdrom Asuro.iso
fi
if [ $? -ne 0 ]
then
echo "Failed to run Asaro!"