diff options
author | Ewan Crawford <ewan@codeplay.com> | 2015-06-24 15:14:26 +0000 |
---|---|---|
committer | Ewan Crawford <ewan@codeplay.com> | 2015-06-24 15:14:26 +0000 |
commit | aa7eda7a9e2c70d389f8edb20ea3b5c1e8e13a24 (patch) | |
tree | c02b5f7eaf86b36771b771e6393deb6ee4919234 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | |
parent | 26eabf6d0f8aca2a59777dba5d929270a346aa17 (diff) | |
download | bcm5719-llvm-aa7eda7a9e2c70d389f8edb20ea3b5c1e8e13a24.tar.gz bcm5719-llvm-aa7eda7a9e2c70d389f8edb20ea3b5c1e8e13a24.zip |
Proper handling of QNonStop packet response.
Turn non-stop mode off if reply to QNonStop packet isn't an OK.
llvm-svn: 240546
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp index c1ad2e69754..2b7ff2427b9 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp @@ -1172,7 +1172,7 @@ ProcessGDBRemote::ConnectToDebugserver (const char *connect_url) // Send $QNonStop:1 packet on startup if required if (GetTarget().GetNonStopModeEnabled()) - m_gdb_comm.SetNonStopMode(true); + GetTarget().SetNonStopModeEnabled (m_gdb_comm.SetNonStopMode(true)); m_gdb_comm.GetEchoSupported (); m_gdb_comm.GetThreadSuffixSupported (); |