mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:34:59 +00:00
Meta: Add a missing dash to the GDB detection code
This commit is contained in:
parent
86b83d5823
commit
022a55e825
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue