<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - lldb-mi does not receive broadcasted notification from Core/Process about process stopped if StopAtEntry was requested ("process launch -s" OR "-exec-run --start")"
   href="https://llvm.org/bugs/show_bug.cgi?id=25000">25000</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>lldb-mi does not receive broadcasted notification from Core/Process about process stopped if StopAtEntry was requested ("process launch -s" OR "-exec-run --start")
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>lldb
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>All Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>lldb-dev@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>engineer.developer@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=14960" name="attach_14960" title="Debug session log">attachment 14960</a> <a href="attachment.cgi?id=14960&action=edit" title="Debug session log">[details]</a></span>
Debug session log

Problem is Linux lldb specific only.

lldb-mi receives event notifications if they broadcasted from core lldb
modules.

See review also: <a href="http://reviews.llvm.org/D12977">http://reviews.llvm.org/D12977</a>

You can use following testcase:

$ bin/lldb-mi echo
(gdb)
-file-exec-and-symbols "echo"
^done
(gdb)
=library-loaded,id="/bin/echo",target-name="/bin/echo",host-name="/bin/echo",symbols-loaded="0",loaded_addr="-",size="0"
-exec-run --start
^running
=thread-group-started,id="i1",pid="28031"
(gdb)
=thread-created,id="1",group-id="i1"
=thread-selected,id="1"
(gdb)
=library-loaded,id="/bin/echo",target-name="/bin/echo",host-name="/bin/echo",symbols-loaded="0",loaded_addr="-",size="0"

<--- HERE *stopped notification should appear as in case of OSX or iOS
platforms.

process status
Process 28031 stopped
* thread #1: tid = 28031, 0x00007ffff7dd9cd0, name = 'echo', stop reason =
signal SIGSTOP
    frame #0: 0x00007ffff7dd9cd0
->  0x7ffff7dd9cd0: movq   %rsp, %rdi
    0x7ffff7dd9cd3: callq  0x7ffff7dddc30
    0x7ffff7dd9cd8: movq   %rax, %r12
    0x7ffff7dd9cdb: movl   0x22310f(%rip), %eax
^done
(gdb)</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>