Files
clang-p2996/lldb/test/expression_command/expr-in-syscall/main.c
Pavel Labath 2f4749309c Add a test for expression evaluation while inferior is blocked in a syscall
Summary: The test is XFAILed for Linux x86_64 and i386 because of bug #23659.

Test Plan: NFC

Reviewers: tberghammer

Subscribers: lldb-commits, emaste

Differential Revision: http://reviews.llvm.org/D10519

llvm-svn: 239973
2015-06-17 23:28:55 +00:00

12 lines
187 B
C

#include <unistd.h>
volatile int release_flag = 0;
int main(int argc, char const *argv[])
{
while (! release_flag) // Wait for debugger to attach
sleep(3);
return 0;
}