Sign in
llvm
/
lldb
/
release_35
/
.
/
test
/
functionalities
/
process_attach
/
main.c
blob: 8d30098bd58722bc2d22d106321bcdd2af9c8835 [
file
] [
log
] [
blame
]
#include
<stdio.h>
#include
<unistd.h>
int
main
(
int
argc
,
char
const
*
argv
[])
{
// Waiting to be attached by the debugger.
int
temp
=
0
;
while
(
temp
<
30
)
// Waiting to be attached...
{
sleep
(
1
);
temp
++;
}
printf
(
"Exiting now\n"
);
}