Skip to content

Commit 56731b3

Browse files
committed
Fix GDB script
1 parent ef4daea commit 56731b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.ci/gdbstub-test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ set -e -u -o pipefail
55
export PATH=`pwd`/toolchain/bin:$PATH
66

77
GDB=
8-
prefixes=("${CROSS_COMPILE}" "riscv32-unknown-elf" "riscv-none-elf")
8+
prefixes=("${CROSS_COMPILE}" "riscv32-unknown-elf-" "riscv-none-elf-")
99
for prefix in "${prefixes[@]}"; do
10-
utility=${prefix}-gdb
10+
utility=${prefix}gdb
1111
set +e # temporarily disable exit on error
1212
command -v "${utility}" &> /dev/null
1313
if [[ $? == 0 ]]; then

0 commit comments

Comments
 (0)