Debug ARM semihosting Thumb-2 binary
Peter Maydell
peter.maydell@linaro.org
Mon Feb 20 16:21:00 GMT 2012
On 15 February 2012 17:33, Peter Maydell <peter.maydell@linaro.org> wrote:
> Coincidentally, Meador Inge from CodeSourcery posted a patch to the
> QEMU list today which fixes the SIGINT issue:
> http://lists.gnu.org/archive/html/qemu-devel/2012-02/msg02008.html
> (not yet code reviewed, but I did a quick test and it does seem to
> at least avoid the SIGINT problems.)
> However speed of fread over the gdb syscall interface is absolutely
> dire, it seems (from 'set debug remote 1') to be doing about one
> data packet a second...
There's now a version 2 of the patch which attacks the problem
in a slightly different way and fixes both the SIGINT problems and
also the occasional stalls which were causing semihosting read/write
performance to be so poor:
http://patchwork.ozlabs.org/patch/141867/
-- PMM
More information about the Gdb
mailing list