the thread id is easier to read in base16.
authorJason Molenda <jmolenda@apple.com>
Tue, 6 Mar 2018 23:33:02 +0000 (23:33 +0000)
committerJason Molenda <jmolenda@apple.com>
Tue, 6 Mar 2018 23:33:02 +0000 (23:33 +0000)
llvm-svn: 326849

lldb/tools/darwin-threads/examine-threads.c

index 5d965140cf8ba68c1b9b835917fdb57593693bc3..51f35b6b0cc60bc4e0f6a3c9a611593d3e5d09ab 100644 (file)
@@ -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);