summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
diff options
context:
space:
mode:
authorIlia K <ki.stfu@gmail.com>2015-02-06 18:15:05 +0000
committerIlia K <ki.stfu@gmail.com>2015-02-06 18:15:05 +0000
commit6af632f93c0cfc6138160c807f505d3c1dce2b8f (patch)
tree460182ebcc7668e7fc973e20b7e3b976b1d642b1 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
parent56e271568fcccf4f3916c6465b60ca2b6dac5f63 (diff)
downloadbcm5719-llvm-6af632f93c0cfc6138160c807f505d3c1dce2b8f.tar.gz
bcm5719-llvm-6af632f93c0cfc6138160c807f505d3c1dce2b8f.zip
Fix a missing "*stopped" notification in LLDB-MI after "process launch -s" in case of remote-macosx
Summary: This patch fixes *stopped notification for remote target when started with eLaunchFlagStopAtEntry (for example, using "process launch -s"). See explanation below: ``` Target::Launch (ProcessLaunchInfo &launch_info, Stream *stream) { ... if (state != eStateConnected && platform_sp && platform_sp->CanDebugProcess ()) { ... } else { ... if (m_process_sp) error = m_process_sp->Launch (launch_info); } if (error.Success()) { if (launch_info.GetFlags().Test(eLaunchFlagStopAtEntry) == false) { .... } -- missing event if eLaunchFlagStopAtEntry is set -- m_process_sp->RestoreProcessEvents (); } ... return error ``` Also this patch contains tests and you can check how it works. Reviewers: zturner, clayborg, abidh Reviewed By: clayborg Subscribers: clayborg, abidh, zturner, lldb-commits Differential Revision: http://reviews.llvm.org/D7273 llvm-svn: 228417
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud