[Lldb-commits] [PATCH] Fix =thread-exited message (MI)

Hafiz Abid Qadeer abidh.haq at gmail.com
Wed Mar 25 05:08:55 PDT 2015


Looks ok.


================
Comment at: tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.cpp:1677
@@ -1693,3 +1676,3 @@
             // Form MI "=thread-exited,id=\"%ld\",group-id=\"i1\""
-            const CMIUtilString strValue(CMIUtilString::Format("%ld", thread.GetIndexID()));
+            const CMIUtilString strValue(CMIUtilString::Format("%ld", threadIndexID));
             const CMICmnMIValueConst miValueConst(strValue);
----------------
Just a question. It was printing invalid thread id because thread.GetIndexID() was returning a garbage value?

http://reviews.llvm.org/D8603

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the lldb-commits mailing list