summaryrefslogtreecommitdiff
path: root/Meta/debug-kernel.sh
diff options
context:
space:
mode:
authorBrian Gianforcaro <bgianf@serenityos.org>2021-08-14 11:42:54 -0700
committerAndreas Kling <kling@serenityos.org>2021-08-14 21:18:05 +0200
commit72f348a6cfa002162166f7fdc2e8c418fbadfb73 (patch)
treeecf1cc2542ea34641d6d5c4cd39ec0ee6767a261 /Meta/debug-kernel.sh
parent4b4fe29c396835f6a7848a6989b7bb2e926289bb (diff)
downloadserenity-72f348a6cfa002162166f7fdc2e8c418fbadfb73.zip
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.
Diffstat (limited to 'Meta/debug-kernel.sh')
-rwxr-xr-xMeta/debug-kernel.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/Meta/debug-kernel.sh b/Meta/debug-kernel.sh
index f6cd4461b6..c12791654a 100755
--- a/Meta/debug-kernel.sh
+++ b/Meta/debug-kernel.sh
@@ -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" \