1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 12:47:35 +00:00

Meta: Disable printing frame args when debugging the kernel with gdb

The function arguments almost always optimized away, so you never get
much value out of showing these in the default back trace view, it just
adds a bunch of extra stuff that you need to visual wade through.
So lets disable showing them.
This commit is contained in:
Brian Gianforcaro 2021-08-14 11:42:54 -07:00 committed by Andreas Kling
parent 4b4fe29c39
commit 72f348a6cf

View file

@ -31,6 +31,7 @@ exec $SERENITY_KERNEL_DEBUGGER \
-ex "add-symbol-file $(dirname "$0")/../Build/${SERENITY_ARCH:-i686}/Kernel/Kernel -o $kernel_base" \ -ex "add-symbol-file $(dirname "$0")/../Build/${SERENITY_ARCH:-i686}/Kernel/Kernel -o $kernel_base" \
-ex "set confirm on" \ -ex "set confirm on" \
-ex "set arch $gdb_arch" \ -ex "set arch $gdb_arch" \
-ex "set print frame-arguments none" \
-ex "target remote ${gdb_host}:1234" \ -ex "target remote ${gdb_host}:1234" \
-ex "source $(dirname "$0")/serenity_gdb.py" \ -ex "source $(dirname "$0")/serenity_gdb.py" \
-ex "layout asm" \ -ex "layout asm" \