[Lldb-commits] [lldb] r326849 - the thread id is easier to read in base16.

Jason Molenda via lldb-commits lldb-commits at lists.llvm.org
Tue Mar 6 15:33:02 PST 2018


Author: jmolenda
Date: Tue Mar  6 15:33:02 2018
New Revision: 326849

URL: http://llvm.org/viewvc/llvm-project?rev=326849&view=rev
Log:
the thread id is easier to read in base16.

Modified:
    lldb/trunk/tools/darwin-threads/examine-threads.c

Modified: lldb/trunk/tools/darwin-threads/examine-threads.c
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/darwin-threads/examine-threads.c?rev=326849&r1=326848&r2=326849&view=diff
==============================================================================
--- lldb/trunk/tools/darwin-threads/examine-threads.c (original)
+++ lldb/trunk/tools/darwin-threads/examine-threads.c Tue Mar  6 15:33:02 2018
@@ -403,7 +403,7 @@ int main(int argc, char **argv) {
       int wordsize;
       uint64_t pc = get_current_pc(thread_list[i], &wordsize);
 
-      printf("thread #%d, system-wide-unique-tid %lld, suspend count is %d, ",
+      printf("thread #%d, system-wide-unique-tid 0x%llx, suspend count is %d, ",
              i, identifier_info.thread_id, basic_info->suspend_count);
       if (wordsize == 8)
         printf("pc 0x%016llx, ", pc);




More information about the lldb-commits mailing list