mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 04:13:53 -06:00
linux-user: Expose do_guest_openat() and do_guest_readlink()
These functions will be required by the GDB stub in order to provide the guest view of /proc to GDB. Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20230621203627.1808446-2-iii@linux.ibm.com> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20230630180423.558337-32-alex.bennee@linaro.org>
This commit is contained in:
parent
2261b73c28
commit
a4dab0a0d3
2 changed files with 38 additions and 19 deletions
|
@ -165,6 +165,9 @@ typedef struct TaskState {
|
|||
} TaskState;
|
||||
|
||||
abi_long do_brk(abi_ulong new_brk);
|
||||
int do_guest_openat(CPUArchState *cpu_env, int dirfd, const char *pathname,
|
||||
int flags, mode_t mode);
|
||||
ssize_t do_guest_readlink(const char *pathname, char *buf, size_t bufsiz);
|
||||
|
||||
/* user access */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue