diff options
author | Tim Schumacher <timschumi@gmx.de> | 2023-04-09 13:19:49 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2023-04-09 16:51:11 +0200 |
commit | 022a55e8251780774b9bda94e289ad19f4b6e7e1 (patch) | |
tree | 7f14a2bf781bc2350e9b08f286259d3fd12aab9b | |
parent | 86b83d58238c88e2c717b1f7c08cff2d295863aa (diff) | |
download | serenity-022a55e8251780774b9bda94e289ad19f4b6e7e1.zip |
Meta: Add a missing dash to the GDB detection code
-rwxr-xr-x | Meta/debug-kernel.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Meta/debug-kernel.sh b/Meta/debug-kernel.sh index cefcb66a23..506ea79dfc 100755 --- a/Meta/debug-kernel.sh +++ b/Meta/debug-kernel.sh @@ -16,7 +16,7 @@ if [ -z "$SERENITY_KERNEL_DEBUGGER" ]; then SERENITY_KERNEL_DEBUGGER="$SERENITY_ARCH-pc-serenity-gdb" elif command -v "$SERENITY_ARCH-elf-gdb" >/dev/null; then SERENITY_KERNEL_DEBUGGER="$SERENITY_ARCH-elf-gdb" - elif command -v gdb >/dev/null && gdb ex 'set architecture' -ex 'quit' | grep "${SERENITY_ARCH//_/-}"; then + elif command -v gdb >/dev/null && gdb -ex 'set architecture' -ex 'quit' | grep "${SERENITY_ARCH//_/-}"; then SERENITY_KERNEL_DEBUGGER="gdb" else echo "Error: No suitable GDB installation found." >&2 |