On 7/20/20 9:11 PM, Kito Cheng wrote: >> Do I correctly infer that this patch works with the sim tool shipped with >> GDB? > Tested with GDB simulator and qemu, but we use a tricky way to test > with qemu, add a wrapper to qemu to made the interface same as gdb > simulator[1].
QEMU supports the gdbserver remote debugging protocol (-g), so is different from the sim interface. Linaro also had a way of using QEMU. but I tried to make something more generic. I'd be interested in your wrapper, but I think using the gdbserver protocol works better. Btw, thank you for contributing to DejaGnu and the GNU toolchain. - rob -