[lldb-dev] thread list format

Ed Maste emaste at freebsd.org
Mon Jul 29 13:53:32 PDT 2013


On 29 July 2013 16:38, Michael Sartain <mikesart at gmail.com> wrote:
> I've seen this asked by Ed before, but hadn't seen it answered: Is there a
> reason for the single single quote in the default thread-format?
>
> (lldb) thread list
> Process 29603 stopped
> * thread #1: tid = 29603, 0x000000000040113f blah`main(argc=1,
> argv=0x00007fff71d34f18) + 495 at blah.cpp:71, name = 'mainthrd, stop reason
> = breakpoint 2.1
>   thread #2: tid = 29766, 0x00007f282ba7084d libc.so.6`__nanosleep + 45 at
> syscall-template.S:82, name = 'thread_0
>   thread #3: tid = 29767, 0x00007f282ba7084d libc.so.6`__nanosleep + 45 at
> syscall-template.S:82, name = 'thread_1

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?



More information about the lldb-dev mailing list