[Lldb-commits] [PATCH] D12218: Implement handling of `library:` keys in thread stop replies.

Stephane Sezer via lldb-commits lldb-commits at lists.llvm.org
Thu Aug 20 16:08:49 PDT 2015


sas updated this revision to Diff 32766.
sas added a comment.

Fix bug with bool comparison.


http://reviews.llvm.org/D12218

Files:
  source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp

Index: source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
===================================================================
--- source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+++ source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
@@ -2522,6 +2522,10 @@
                     ostr.Printf("%" PRIu64 " %" PRIu32, wp_addr, wp_index);
                     description = ostr.GetString().c_str();
                 }
+                else if (key.compare("library") == 0)
+                {
+                    LoadModules();
+                }
                 else if (key.size() == 2 && ::isxdigit(key[0]) && ::isxdigit(key[1]))
                 {
                     uint32_t reg = StringConvert::ToUInt32 (key.c_str(), UINT32_MAX, 16);


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12218.32766.patch
Type: text/x-patch
Size: 754 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150820/5a08063b/attachment.bin>


More information about the lldb-commits mailing list