Simplify the test's source code, remove unnecessary headers, and convert it from C++ to C.
11 lines
203 B
C++
11 lines
203 B
C++
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <unistd.h>
|
|
|
|
int main(int argc, char const **argv) {
|
|
// Set breakpoint 1 here
|
|
execl("secondprog", "secondprog", NULL);
|
|
perror("execve");
|
|
abort();
|
|
}
|