The code in question is here: https://sourceforge.net/p/openocd/code/ci/master/tree/src/target/semihosting_common.c#l1122
I would be good to check other syscalls as well. --- **[tickets:#442] SEMIHOSTING_SYS_REMOVE does not take `arm semihosting_basedir` into account** **Status:** new **Milestone:** 0.11.0 **Created:** Fri Nov 22, 2024 01:37 PM UTC by Marek Vrbka **Last Updated:** Fri Nov 22, 2024 01:37 PM UTC **Owner:** nobody The `arm semihosting_basedir` allows to set a "working directory" for the purposes of semihosting. The remove semihosting syscall does not take it into account and uses the current working directory of OpenOCD instead. --- Sent from sourceforge.net because openocd-devel@lists.sourceforge.net is subscribed to https://sourceforge.net/p/openocd/tickets/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/openocd/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.