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: lab...@google.com
          Reporter: lab...@google.com
                CC: lldb-dev@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.
_______________________________________________
lldb-dev mailing list
lldb-dev@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to