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
Notes: sideshowbarker 2024-07-18 06:53:13 +09:00

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 "set confirm on" \
-ex "set arch $gdb_arch" \
-ex "set print frame-arguments none" \
-ex "target remote ${gdb_host}:1234" \
-ex "source $(dirname "$0")/serenity_gdb.py" \
-ex "layout asm" \