1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 09:04:59 +00:00

Meta: Add GDB pretty printers

This commit is contained in:
Gunnar Beutner 2021-04-20 18:37:33 +02:00 committed by Linus Groh
parent ba261aba72
commit 232e64c10a
3 changed files with 280 additions and 3 deletions

View file

@ -8,7 +8,9 @@
# remote on localhost:1234. So point our debugger there, and inform
# the debugger which binary to load symbols, etc from.
#
$SERENITY_KERNEL_DEBUGGER \
exec $SERENITY_KERNEL_DEBUGGER \
-ex "file $(dirname "$0")/../Build/${SERENITY_ARCH:-i686}/Kernel/Kernel" \
-ex 'set arch i386:intel' \
-ex 'target remote localhost:1234'
-ex 'target remote localhost:1234' \
-ex "source $(dirname "$0")/serenity_gdb.py" \
"$@"