On 10/17/25 14:11, Yodel Eldar via wrote:
Move host_to_gdb_errno from target/m68k/m68k-semi.c to
gdbstub/syscalls.c. Declare it in include/gdbstub/syscalls.h.

Add both newly added GDB File-I/O supported errno values, EIO and
ENOSYS, to the mapping.

Signed-off-by: Yodel Eldar<[email protected]>
---
  gdbstub/syscalls.c         | 36 ++++++++++++++++++++++++++++++++++++
  include/gdbstub/syscalls.h |  9 +++++++++
  target/m68k/m68k-semi.c    | 29 -----------------------------
  3 files changed, 45 insertions(+), 29 deletions(-)

Reviewed-by: Richard Henderson <[email protected]>

r~

Reply via email to