From b9c11e71d7a71c80d5636120b102fda426249d86 Mon Sep 17 00:00:00 2001 From: Ian Chamberlain Date: Sun, 4 Dec 2022 15:03:29 -0500 Subject: [PATCH] Fix ABI mismatch in packed HIO request Using size_t etc. is incorrect, since these definitions are based on the build machine which most likely has a different arch than the 3DS. --- src/core/gdbstub/hio.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/gdbstub/hio.h b/src/core/gdbstub/hio.h index 62559f05a..5fbf45d93 100644 --- a/src/core/gdbstub/hio.h +++ b/src/core/gdbstub/hio.h @@ -17,11 +17,11 @@ struct PackedGdbHioRequest { char param_format[8 + 1]; u64 parameters[8]; - size_t string_lengths[8]; + u32 string_lengths[8]; // Return s64 retval; - int gdb_errno; + s32 gdb_errno; bool ctrl_c; };