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:
parent
4b4fe29c39
commit
72f348a6cf
Notes:
sideshowbarker
2024-07-18 06:53:13 +09:00
Author: https://github.com/bgianfo Commit: https://github.com/SerenityOS/serenity/commit/72f348a6cfa Pull-request: https://github.com/SerenityOS/serenity/pull/9420
1 changed files with 1 additions and 0 deletions
|
@ -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" \
|
||||
|
|
Loading…
Add table
Reference in a new issue