diff options
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote')
| -rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp index c1560e44784..e9f1abc85c3 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp @@ -647,6 +647,16 @@ GDBRemoteCommunicationClient::SendContinuePacketAndWaitForResponse } break; + case 'A': + // Async miscellaneous reply. Right now, only profile data is coming through this channel. + { + const std::string& profile_data = response.GetStringRef(); + const char *data_cstr = profile_data.c_str(); + data_cstr++; // Move beyond 'A' + process->BroadcastAsyncProfileData (data_cstr, profile_data.size()-1); + } + break; + case 'E': // ERROR state = eStateInvalid; |

