mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 10:08:10 +00:00
Meta: Explicitly configure source directory in debug-kernel.sh
Previously debug-kernel.sh wouldn't detect source if you launched the script from the wrong path. By explicitly setting the name, source will be loaded by gdb in all situations.
This commit is contained in:
parent
abccb45060
commit
ca9619c750
1 changed files with 1 additions and 0 deletions
|
@ -28,6 +28,7 @@ fi
|
|||
exec $SERENITY_KERNEL_DEBUGGER \
|
||||
-ex "file $(dirname "$0")/../Build/${SERENITY_ARCH:-i686}/Kernel/Prekernel/$prekernel_image" \
|
||||
-ex "set confirm off" \
|
||||
-ex "directory $(dirname "$0")/../Build/${SERENITY_ARCH:-i686}/" \
|
||||
-ex "add-symbol-file $(dirname "$0")/../Build/${SERENITY_ARCH:-i686}/Kernel/Kernel -o $kernel_base" \
|
||||
-ex "set confirm on" \
|
||||
-ex "set arch $gdb_arch" \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue