diff options
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/attach/main.c')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/attach/main.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/attach/main.c b/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/attach/main.c new file mode 100644 index 00000000000..a078d42203e --- /dev/null +++ b/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/attach/main.c @@ -0,0 +1,8 @@ +#include <stdio.h> +#include <unistd.h> + +int main(int argc, char const *argv[]) { + printf("pid = %i\n", getpid()); + sleep(5); + return 0; // breakpoint 1 +} |