From: Richard Henderson <richard.henderson@linaro.org>
To: ~foxes <foxes687@andestech.com>, qemu-devel@nongnu.org
Cc: "Alex Bennée" <alex.bennee@linaro.org>
Subject: Re: [PATCH qemu 1/2] semihosting: Added to support GDB_O_APPEND flag of host_open()
Date: Tue, 20 Jun 2023 09:30:41 +0200 [thread overview]
Message-ID: <93013d5b-1b91-8e4a-de7f-d67bc9a3ed5f@linaro.org> (raw)
In-Reply-To: <168723238949.9156.9853906656288727865-0@git.sr.ht>
On 6/8/23 11:07, ~foxes wrote:
> From: Foxes Hung <foxes687@andestech.com>
>
> Signed-off-by: Foxes Hung <foxes687@andestech.com>
> ---
> semihosting/syscalls.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/semihosting/syscalls.c b/semihosting/syscalls.c
> index 68899ebb1c..1a5d39da01 100644
> --- a/semihosting/syscalls.c
> +++ b/semihosting/syscalls.c
> @@ -281,6 +281,9 @@ static void host_open(CPUState *cs, gdb_syscall_complete_cb complete,
> if (gdb_flags & GDB_O_TRUNC) {
> host_flags |= O_TRUNC;
> }
> + if (gdb_flags & GDB_O_APPEND) {
> + host_flags |= O_APPEND;
> + }
> if (gdb_flags & GDB_O_EXCL) {
> host_flags |= O_EXCL;
> }
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
r~
prev parent reply other threads:[~2023-06-20 7:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-08 9:07 [PATCH qemu 1/2] semihosting: Added to support GDB_O_APPEND flag of host_open() ~foxes
2023-06-08 9:06 ` [PATCH qemu 2/2] gdbstub: Fixed gdb_open() does not work issue while an extra 'x' is being added when converting '%s' to a pointer ~foxes
2023-06-20 7:32 ` Richard Henderson
2023-06-20 7:30 ` Richard Henderson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=93013d5b-1b91-8e4a-de7f-d67bc9a3ed5f@linaro.org \
--to=richard.henderson@linaro.org \
--cc=alex.bennee@linaro.org \
--cc=foxes687@andestech.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).