diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/foll-exec.c')
-rw-r--r-- | gdb/testsuite/gdb.base/foll-exec.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/testsuite/gdb.base/foll-exec.c b/gdb/testsuite/gdb.base/foll-exec.c index 1b76090..78c1cda 100644 --- a/gdb/testsuite/gdb.base/foll-exec.c +++ b/gdb/testsuite/gdb.base/foll-exec.c @@ -17,27 +17,27 @@ main () printf ("foll-exec is about to execlp(execd-prog)...\n"); - execlp ("gdb.base/execd-prog", - "gdb.base/execd-prog", + execlp (BASEDIR "/execd-prog", + BASEDIR "/execd-prog", "execlp arg1 from foll-exec", (char *)0); printf ("foll-exec is about to execl(execd-prog)...\n"); - execl ("gdb.base/execd-prog", - "gdb.base/execd-prog", + execl (BASEDIR "/execd-prog", + BASEDIR "/execd-prog", "execl arg1 from foll-exec", "execl arg2 from foll-exec", (char *)0); { static char * argv[] = { - (char *)"gdb.base/execd-prog", + (char *)BASEDIR "/execd-prog", (char *)"execv arg1 from foll-exec", (char *)0}; printf ("foll-exec is about to execv(execd-prog)...\n"); - execv ("gdb.base/execd-prog", argv); + execv (BASEDIR "/execd-prog", argv); } } |