On 16/1/26 02:46, Yodel Eldar 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.

Reviewed-by: Richard Henderson <[email protected]>
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: Philippe Mathieu-Daudé <[email protected]>

Reply via email to