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

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@google.com
Reporter labath@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.

labath@google.com changed bug 23659

ravithejawork@gmail.com changed bug 23659

labath@google.com changed bug 23659

What | Removed | Added |

  • | - | - |
    Status | NEW | RESOLVED |
    Resolution | — | FIXED |

Comment # 4 on bug 23659 from labath@google.com

Looks good, thanks for fixing this.