On 9/1/22 08:11, Bin Meng wrote:
-len = asprintf(, "/tmp/qemu-%x%02x", getpid(), (int)arg1 & 0xff);
+len = asprintf(, "%s/qemu-%x%02x", g_get_tmp_dir(),
+ getpid(), (int)arg1 & 0xff);
This is most likely wrong. I am not familiar with semihosting, but I
On Wed, Aug 31, 2022 at 8:59 PM Marc-André Lureau
wrote:
>
> Hi
>
> On Wed, Aug 24, 2022 at 1:54 PM Bin Meng wrote:
>>
>> From: Bin Meng
>>
>> Use g_get_tmp_dir() to get the directory to use for temporary files.
>>
>> Signed-off-by: Bin Meng
>> ---
>>
>> semihosting/arm-compat-semi.c | 3 ++-
Hi
On Wed, Aug 24, 2022 at 1:54 PM Bin Meng wrote:
> From: Bin Meng
>
> Use g_get_tmp_dir() to get the directory to use for temporary files.
>
> Signed-off-by: Bin Meng
> ---
>
> semihosting/arm-compat-semi.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git
From: Bin Meng
Use g_get_tmp_dir() to get the directory to use for temporary files.
Signed-off-by: Bin Meng
---
semihosting/arm-compat-semi.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/semihosting/arm-compat-semi.c b/semihosting/arm-compat-semi.c
index