[lldb-dev] [Bug 23659] New: LLDB cannot evaluate expressions on linux if inferior is stopped in a syscall

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue May 26 09:37:14 PDT 2015


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

            Bug ID: 23659
           Summary: LLDB cannot evaluate expressions on linux if inferior
                    is stopped in a syscall
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: labath at google.com
          Reporter: labath at google.com
                CC: lldb-dev at cs.uiuc.edu
    Classification: Unclassified

The inferior receives SIGILL when it tries to allocate memory.

I'm not sure how SIGILL is related, but the underlying cause is that when we do
a PTRACE_CONT to allocate the memory, the system call is restarted, whereas
what we would like to do is postpone the syscall until the expression is
evaluated. This is especially a problem if the inferior is in a blocking
syscall, which may take long (or forever, e.g. if the inferior is deadlocked)
to return.

-- 
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/lldb-dev/attachments/20150526/14c3f408/attachment.html>


More information about the lldb-dev mailing list