Merge into main the new state of the operating system/kernel #1
7
.gdbinit
Normal file
7
.gdbinit
Normal file
@ -0,0 +1,7 @@
|
||||
target remote localhost:1234
|
||||
|
||||
file root/boot/myos.bin
|
||||
symbol-file kernel.sym
|
||||
|
||||
break prekernel/prekernel.cpp:18
|
||||
continue
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -11,3 +11,5 @@ root/
|
||||
*.a
|
||||
|
||||
|
||||
/CoreLib/warnings.log
|
||||
/kernel/warnings.log
|
||||
|
1
run.sh
1
run.sh
@ -17,6 +17,7 @@ if ! make 2> warnings.log 1> /dev/null ; then
|
||||
fi)
|
||||
|
||||
./scripts/update_harddrive.sh
|
||||
./scripts/create_symbol_lookup.sh
|
||||
|
||||
args="";
|
||||
if [[ $1 == "-d" ]]
|
||||
|
@ -1,3 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
objcopy --only-keep-debug build/kernel/myos.bin kernel.sym
|
||||
echo "creating symbols file"
|
||||
echo $(pwd)
|
||||
objcopy --only-keep-debug root/boot/myos.bin kernel.sym
|
@ -2,9 +2,9 @@
|
||||
|
||||
if [[ $1 == "debug" ]]
|
||||
then
|
||||
qemu-system-i386 -boot d -drive format=raw,file=disk.img -serial stdio -vga std -display gtk -m 2G -cpu core2duo -d int -no-shutdown -no-reboot
|
||||
qemu-system-i386 -s -boot d -drive format=raw,file=disk.img -serial stdio -vga std -display gtk -m 2G -cpu core2duo -d int -no-shutdown -no-reboot
|
||||
else
|
||||
qemu-system-i386 -boot d -drive format=raw,file=disk.img -serial stdio -vga std -display gtk -m 2G -cpu core2duo
|
||||
qemu-system-i386 -s -boot d -drive format=raw,file=disk.img -serial stdio -vga std -display gtk -m 2G -cpu core2duo
|
||||
fi
|
||||
# Run from harddisk
|
||||
#qemu-system-i386 -boot d -drive format=raw,file=disk.img -serial stdio -vga std -display gtk -m 2G -cpu core2duo -d int -no-shutdown -no-reboot
|
||||
|
Loading…
Reference in New Issue
Block a user