diff options
author | Gunnar Beutner <gunnar@beutner.name> | 2021-04-20 18:37:33 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-04-22 00:45:43 +0200 |
commit | 232e64c10a212fad56c4f90b62de84ffb3e7cdeb (patch) | |
tree | 8147cdcf2ae96b921f925296be205a2d7d975817 /Meta/debug-kernel.sh | |
parent | ba261aba72373d595149453bae175645b3097d52 (diff) | |
download | serenity-232e64c10a212fad56c4f90b62de84ffb3e7cdeb.zip |
Meta: Add GDB pretty printers
Diffstat (limited to 'Meta/debug-kernel.sh')
-rwxr-xr-x | Meta/debug-kernel.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Meta/debug-kernel.sh b/Meta/debug-kernel.sh index 471808e358..0f78ee6ceb 100755 --- a/Meta/debug-kernel.sh +++ b/Meta/debug-kernel.sh @@ -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" \ + "$@" |