aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/catch-follow-exec.c
blob: fa68a2a34e4b337fa68336cb025e03ffd083e8e7 (plain)
1
2
3
4
5
6
7
8
9
10
#include <stdio.h>
#include <string.h>
#include <unistd.h>

int
main (void)
{
  char *exec_args[] = { "/bin/ls", "ppp", NULL };
  execve (exec_args[0], exec_args, NULL);
}