Go to file
Ilia K 6af632f93c 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
2015-02-06 18:15:05 +00:00
clang -iframework option should be forwarded to linker 2015-02-06 18:08:29 +00:00
clang-tools-extra [clang-tidy] Don't ignore default set of checks when a config file is found. 2015-02-05 14:50:17 +00:00
compiler-rt [compiler-rt] Make MaybeReexec properly process DYLD_INSERT_LIBRARIES when using non-absolute paths 2015-02-06 12:07:29 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Implement log10 2015-01-30 18:00:34 +00:00
libcxx Add __cxxabi_config.h to libcxxabi headers. 2015-02-05 23:56:33 +00:00
libcxxabi unwind: use -fno-rtti -fno-exceptions -funwind-tables 2015-02-06 17:47:57 +00:00
lld Revert "[Core] Update ContentPermissions" 2015-02-06 14:55:40 +00:00
lldb Fix a missing "*stopped" notification in LLDB-MI after "process launch -s" in case of remote-macosx 2015-02-06 18:15:05 +00:00
llgo irgen: don't emit debug metadata for locals 2015-01-29 00:34:30 +00:00
llvm Don't dllexport declarations 2015-02-06 17:59:49 +00:00
openmp Pin the libiomp5.dll for the lifetime of application, Windows-specific 2015-01-29 17:18:20 +00:00
polly Build the isl files as PIC 2015-02-04 21:56:28 +00:00