From 14005f89a6552b2f4ea919969e5dd16aedd4e525 Mon Sep 17 00:00:00 2001 From: Space Meyer Date: Sat, 16 Mar 2024 20:15:10 +0100 Subject: [PATCH] Meta: Correct gdb example in serenity.sh --- Meta/serenity.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Meta/serenity.sh b/Meta/serenity.sh index 51733eb5688..a9364aa4c3b 100755 --- a/Meta/serenity.sh +++ b/Meta/serenity.sh @@ -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