On Mon, Jul 29, 2013 at 2:09 PM, Michael Sartain <[email protected]> wrote:
> On Mon, Jul 29, 2013 at 1:53 PM, Ed Maste <[email protected]> wrote: > >> Also, It looks like you've switched the tids to decimal here, which >> we'll want to do also on FreeBSD. My guess is that on Darwin it's >> desired to keep displaying them in hex; can we do a target-specific >> tid formatter? >> > > This is part of a patch I'm working on right now. It's only partly done so > far (to get feedback from Matt), but here it is: > 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
_______________________________________________ lldb-dev mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
