summaryrefslogtreecommitdiff
path: root/Meta/debug-kernel.sh
diff options
context:
space:
mode:
authorGunnar Beutner <gbeutner@serenityos.org>2021-06-29 10:48:01 +0200
committerAndreas Kling <kling@serenityos.org>2021-06-29 20:03:36 +0200
commit449d34a154f39da20ca6eb350e6211a8950a2d62 (patch)
treeb47f0fb6e48d4b34fb50ef5932e3508fa3c1c29b /Meta/debug-kernel.sh
parent0b82c583e0d4e8c39ce9567091e88ba953f7cfd6 (diff)
downloadserenity-449d34a154f39da20ca6eb350e6211a8950a2d62.zip
Meta: Change default GDB layout
This adds a TUI window that displays disassembly/source code which I've found quite useful.
Diffstat (limited to 'Meta/debug-kernel.sh')
-rwxr-xr-xMeta/debug-kernel.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/Meta/debug-kernel.sh b/Meta/debug-kernel.sh
index 70130d11cb..15c255c356 100755
--- a/Meta/debug-kernel.sh
+++ b/Meta/debug-kernel.sh
@@ -21,4 +21,6 @@ exec $SERENITY_KERNEL_DEBUGGER \
-ex "set arch $gdb_arch" \
-ex 'target remote localhost:1234' \
-ex "source $(dirname "$0")/serenity_gdb.py" \
+ -ex "layout asm" \
+ -ex "fs next" \
"$@"