[llvm-bugs] [Bug 25000] 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")

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Sep 30 10:32:53 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=25000

            Bug ID: 25000
           Summary: lldb-mi does not receive broadcasted notification from
                    Core/Process about process stopped if StopAtEntry was
                    requested ("process launch -s" OR "-exec-run --start")
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: engineer.developer at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 14960
  --> https://llvm.org/bugs/attachment.cgi?id=14960&action=edit
Debug session log

Problem is Linux lldb specific only.

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

See review also: http://reviews.llvm.org/D12977

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)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150930/f2b6ae10/attachment.html>


More information about the llvm-bugs mailing list