GDB Integrated.
git-svn-id: https://spexeah.com:8443/svn/Asuro@25 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
parent
2ce7ccc265
commit
1ae066b2e2
@ -3,10 +3,5 @@ ERRCOUNT=0
|
||||
echo "======================="
|
||||
echo "== ASURO =="
|
||||
echo "======================="
|
||||
if [ "%1" == "-d"]
|
||||
then
|
||||
./compile.sh -d
|
||||
else
|
||||
./compile.sh
|
||||
fi
|
||||
./compile.sh
|
||||
./run.sh
|
||||
|
@ -1,2 +1,7 @@
|
||||
#!/bin/sh
|
||||
./compile_and_run.sh -d
|
||||
ERRCOUNT=0
|
||||
echo "======================="
|
||||
echo "== ASURO =="
|
||||
echo "======================="
|
||||
./compile.sh -d
|
||||
./run.sh -d
|
||||
|
BIN
lib/libpkernel.a
BIN
lib/libpkernel.a
Binary file not shown.
10
run.sh
10
run.sh
@ -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!"
|
||||
|
Loading…
x
Reference in New Issue
Block a user