Skip to content

Commit

Permalink
ports/qemu-{arm,riscv}: Support updated picolibc semihosting args
Browse files Browse the repository at this point in the history
Picolibc's argument processing has changed with version 1.8.5 so that
the full command line, including program name, must be provided in the
'arg=' parameter to qemu.

Signed-off-by: Keith Packard <keithp@keithp.com>
  • Loading branch information
keith-packard committed Sep 27, 2023
1 parent f3b0782 commit 6ab5fe6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ports/qemu-arm/snek-arm.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
here=`dirname $0`
args=""
here=`dirname "$0"`
args=`basename "$0"`
extra=""
for i in "$@"; do
case "$i" in
Expand Down
4 changes: 2 additions & 2 deletions ports/qemu-riscv/snek-riscv.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
here=`dirname $0`
args=""
here=`dirname "$0"`
args=`basename "$0"`
extra=""
for i in "$@"; do
case "$i" in
Expand Down

0 comments on commit 6ab5fe6

Please sign in to comment.