On 28/6/22 13:16, Richard Henderson wrote:
Use semihost_sys_write and/or qemu_semihosting_console_write
for implementing plog.  When using gdbstub, copy the temp
string below the stack so that gdb has a guest address from
which to perform the log.

Signed-off-by: Richard Henderson <[email protected]>
---
  target/mips/tcg/sysemu/mips-semi.c | 52 +++++++++++++++++++++++-------
  1 file changed, 41 insertions(+), 11 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <[email protected]>

Reply via email to