xref: /llvm-project/lldb/test/API/functionalities/exec/main.c (revision a8bc9b627ea143b84253fc911902cf2c8e429630)
1 #include <stdio.h>
2 #include <stdlib.h>
3 #include <unistd.h>
4 
main(int argc,char const ** argv)5 int main(int argc, char const **argv) {
6   // Set breakpoint 1 here
7   execl("secondprog", "secondprog", NULL);
8   perror("execve");
9   abort();
10 }
11