[lldb-dev] thread list format

Ed Maste emaste at freebsd.org
Tue Jul 30 06:53:56 PDT 2013


On 29 July 2013 22:13, Michael Sartain <mikesart at gmail.com> wrote:
>
> Here is a patch that defaults thread ids to decimal for freebsd + linux, and
> also adds the ability to add print specifiers to process.id, thread.id,
> thread.protocol.id, thread.index, and line.number. Something like this:
>
>             // Allow format specifiers: x|X|u with optional width
> specifiers.
>             //   {thread.id%x}    ; hex
>             //   {thread.id%X}    ; uppercase hex
>             //   {thread.id%u}    ; unsigned decimal
>             //   {thread.id%8.8X} ; width.precision + specifier
>
> http://llvm-reviews.chandlerc.com/D1234
>
> Please holler with any feedback. Thanks,
>  -Mike

Overall it looks fine to me.  I think we'd ideally have a run-time
default, so that if you e.g. debug a Linux core on OS X you get
decimal TIDs, but that could be done later if it's awkward.



More information about the lldb-dev mailing list