[Lldb-commits] [lldb] r184588 - <rdar://problem/13980489>
Han Ming Ong
hanming at apple.com
Fri Jun 21 12:57:00 PDT 2013
Author: hanming
Date: Fri Jun 21 14:56:59 2013
New Revision: 184588
URL: http://llvm.org/viewvc/llvm-project?rev=184588&view=rev
Log:
<rdar://problem/13980489>
I added scan type to ‘qGetProfileData’ previously but forgot to update the check to be a substring search.
Modified:
lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
Modified: lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp?rev=184588&r1=184587&r2=184588&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp (original)
+++ lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp Fri Jun 21 14:56:59 2013
@@ -3078,7 +3078,7 @@ public:
output_strm.Printf (" packet: %s\n", packet_cstr);
std::string &response_str = response.GetStringRef();
- if (strcmp(packet_cstr, "qGetProfileData") == 0)
+ if (strstr(packet_cstr, "qGetProfileData") != NULL)
{
response_str = process->GetGDBRemote().HarmonizeThreadIdsForProfileData(process, response);
}
More information about the lldb-commits
mailing list