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

BIN
Asuro.iso

Binary file not shown.

View File

@ -3,10 +3,5 @@ ERRCOUNT=0
echo "=======================" echo "======================="
echo "== ASURO ==" echo "== ASURO =="
echo "=======================" echo "======================="
if [ "%1" == "-d"] ./compile.sh
then
./compile.sh -d
else
./compile.sh
fi
./run.sh ./run.sh

View File

@ -1,2 +1,7 @@
#!/bin/sh #!/bin/sh
./compile_and_run.sh -d ERRCOUNT=0
echo "======================="
echo "== ASURO =="
echo "======================="
./compile.sh -d
./run.sh -d

Binary file not shown.

10
run.sh
View File

@ -6,7 +6,15 @@ echo "== ASURO OPERATION =="
echo "=======================" echo "======================="
echo " " echo " "
echo "Running Asaro..." 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 ] if [ $? -ne 0 ]
then then
echo "Failed to run Asaro!" echo "Failed to run Asaro!"