svn commit: r351368 - head/sys/gdb

John Baldwin jhb at FreeBSD.org
Thu Aug 22 16:41:20 UTC 2019


On 8/21/19 5:34 PM, Conrad Meyer wrote:
> Author: cem
> Date: Thu Aug 22 00:34:11 2019
> New Revision: 351368
> URL: https://svnweb.freebsd.org/changeset/base/351368
> 
> Log:
>   gdb(4): Implement qXfer:threads:read
>   
>   This streams out an XML document over several GDB packets describing all
>   threads in the system; their ids, name, and any loosely defined "extra info"
>   we feel like including.  For now, I have included a string version of the run
>   state, similar to some of the DDB logic to stringify thread state.
>   
>   The benefit of supporting this in addition to the qfThreadInfo/qsThreadInfo
>   packing is that in this mode, the host gdb does not ask for every thread's
>   "qThreadExtraInfo," saving per-thread round-trips on "info threads."
>   
>   To use this feature, (k)gdb needs to be built with the --with-expat option.
>   I would encourage enabling this option by default in our GDB port, if it is
>   not already.

FYI, it is as the 'catch syscall' bits also depend on this.

-- 
John Baldwin


More information about the svn-src-all mailing list