[Lldb-commits] [PATCH] D11187: Add jThreadsInfo support to lldb-server

Tamas Berghammer tberghammer at google.com
Tue Jul 14 09:36:39 PDT 2015


tberghammer accepted this revision.
tberghammer added a comment.
This revision is now accepted and ready to land.

Looks good


================
Comment at: docs/lldb-gdb-remote.txt:1555-1575
@@ +1554,23 @@
+        "registers": {
+          "0":"8000000000000000",
+          "1":"0000000000000000",
+          "2":"20fabf5fff7f0000",
+          "3":"e8f8bf5fff7f0000",
+          "4":"0100000000000000",
+          "5":"d8f8bf5fff7f0000",
+          "6":"b0f8bf5fff7f0000",
+          "7":"20f4bf5fff7f0000",
+          "8":"8000000000000000",
+          "9":"61a8db78a61500db",
+          "10":"3200000000000000",
+          "11":"4602000000000000",
+          "12":"0000000000000000",
+          "13":"0000000000000000",
+          "14":"0000000000000000",
+          "15":"0000000000000000",
+          "16":"960b000001000000",
+          "17":"0202000000000000",
+          "18":"2b00000000000000",
+          "19":"0000000000000000",
+          "20":"0000000000000000"
+        },
----------------
I would prefer to use hex numbers to be consistent with the stop reply packet but that change is out of scope for this change. The missing support for hex isn't an issue here because of the quotes.

================
Comment at: source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp:499-501
@@ +498,5 @@
+
+        StreamString stream;
+        stream.Printf("%d", regindex);
+        std::string reg_num_str = stream.GetString();
+
----------------
(nit): You can use std::to_string(regindex)


http://reviews.llvm.org/D11187







More information about the lldb-commits mailing list