mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 00:14:32 -08:00
Add debugging files to build process
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -2,7 +2,6 @@
|
||||
/build*
|
||||
*.bak
|
||||
tags
|
||||
.gdbinit
|
||||
popcorn.log
|
||||
*.o
|
||||
*.a
|
||||
|
||||
4
assets/debugging/popcorn.elf-gdb.py
Normal file
4
assets/debugging/popcorn.elf-gdb.py
Normal file
@@ -0,0 +1,4 @@
|
||||
import time
|
||||
time.sleep(2.5)
|
||||
gdb.execute("target remote :1234")
|
||||
gdb.execute("set waiting = false")
|
||||
@@ -158,6 +158,9 @@ build $builddir/flash.img : cp $srcroot/assets/ovmf/x64/OVMF.fd
|
||||
build $builddir/popcorn.elf | $builddir/popcorn.elf.debug : strip $builddir/host/popcorn.elf
|
||||
name = kernel
|
||||
|
||||
build $builddir/popcorn.elf-gdb.py : cp ${srcroot}/assets/debugging/popcorn.elf-gdb.py
|
||||
name = kernel debug python scripts
|
||||
|
||||
build $builddir/fatroot/popcorn.elf : cp $builddir/popcorn.elf
|
||||
name = kernel to FAT image
|
||||
|
||||
|
||||
Reference in New Issue
Block a user