Tests of the XLaunchXBE
method.
Create a build target
- Create a new
Embedded GDB Server
target - Set the Target to
all
- Set the Executable to
main.exe
- Set
Download executable
toNone
- Set
'target remote' args
to127.0.0.1:1234
- Set
GDB Server
to the path to the xemu binary - Set
GDB Server args
to-s -S
(the-S
is optional and will cause xemu to wait for the debugger to connnect)
To capture DbgPrint, additionally append -device lpc47m157 -serial tcp:127.0.0.1:9091
to GDB Server args
and use
something like pykdclient.