On 29 July 2013 22:13, Michael Sartain <[email protected]> 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. _______________________________________________ lldb-dev mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
