diff --git a/emulation/betrusted.resc b/emulation/betrusted.resc index 4d8d7afcf..6259d38f5 100644 --- a/emulation/betrusted.resc +++ b/emulation/betrusted.resc @@ -107,6 +107,12 @@ macro reset emulation CreateServerSocketTerminal 8888 "kernel" False connector Connect sysbus.uart kernel +# Connect the `app_uart` port -- which is the port on which +# the Xous gdbserver runs -- to TCP port 3456, to allow for +# application-aware debugging +emulation CreateServerSocketTerminal 3456 "gdb" False +connector Connect sysbus.app_uart gdb + runMacro $reset mach clear