summaryrefslogtreecommitdiff
path: root/packages/Python/lldbsuite/test/functionalities/process_attach/main.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2019-08-20 18:01:57 +0000
committerDimitry Andric <dim@FreeBSD.org>2019-08-20 18:01:57 +0000
commit88c643b6fec27eec436c8d138fee6346e92337d6 (patch)
tree82cd13b2f3cde1c9e5f79689ba4e6ba67694843f /packages/Python/lldbsuite/test/functionalities/process_attach/main.cpp
parent94994d372d014ce4c8758b9605d63fae651bd8aa (diff)
Notes
Diffstat (limited to 'packages/Python/lldbsuite/test/functionalities/process_attach/main.cpp')
-rw-r--r--packages/Python/lldbsuite/test/functionalities/process_attach/main.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/packages/Python/lldbsuite/test/functionalities/process_attach/main.cpp b/packages/Python/lldbsuite/test/functionalities/process_attach/main.cpp
deleted file mode 100644
index 46ffacc0a840..000000000000
--- a/packages/Python/lldbsuite/test/functionalities/process_attach/main.cpp
+++ /dev/null
@@ -1,20 +0,0 @@
-#include <stdio.h>
-
-#include <chrono>
-#include <thread>
-
-int main(int argc, char const *argv[]) {
- int temp;
- lldb_enable_attach();
-
- // Waiting to be attached by the debugger.
- temp = 0;
-
- while (temp < 30) // Waiting to be attached...
- {
- std::this_thread::sleep_for(std::chrono::seconds(2));
- temp++;
- }
-
- printf("Exiting now\n");
-}