From b0d0dd1bbeae5dac10391411baa41a4f85b54e65 Mon Sep 17 00:00:00 2001 From: Bastien Bouclet Date: Sun, 20 Oct 2019 09:25:05 +0200 Subject: 3DS: Enable GDB host IO --- backends/platform/3ds/main.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'backends') diff --git a/backends/platform/3ds/main.cpp b/backends/platform/3ds/main.cpp index 6e33253c08..4179967178 100644 --- a/backends/platform/3ds/main.cpp +++ b/backends/platform/3ds/main.cpp @@ -33,6 +33,8 @@ int main(int argc, char *argv[]) { romfsInit(); osSetSpeedupEnable(true); // consoleInit(GFX_TOP, NULL); + gdbHioDevInit(); + gdbHioDevRedirectStdStreams(true, true, true); #ifdef USE_LIBCURL const uint32 soc_sharedmem_size = 0x10000; @@ -60,6 +62,7 @@ int main(int argc, char *argv[]) { #ifdef USE_LIBCURL socExit(); #endif + gdbHioDevExit(); romfsExit(); cfguExit(); gfxExit(); -- cgit v1.2.3