Meta: Correct gdb example in serenity.sh

This commit is contained in:
Space Meyer 2024-03-16 20:15:10 +01:00 committed by Andrew Kaster
parent 7650e657aa
commit 14005f89a6
Notes: sideshowbarker 2024-07-17 03:45:48 +09:00

View file

@ -58,7 +58,7 @@ Usage: $NAME COMMAND [TARGET] [TOOLCHAIN] [ARGS...]
Resolves the address 0x12345678 in the Kernel binary
$NAME addr2line x86_64 WindowServer 0x12345678
Resolves the address 0x12345678 in the WindowServer binary
$NAME gdb x86_64 smp=on -ex 'hb *init'
$NAME gdb x86_64 GNU smp=on -ex 'hb *init'
Runs the image for the TARGET x86_64 in qemu and attaches a gdb session
setting a breakpoint at the init() function in the Kernel.
EOF