diff options
author | Daniel Jacobowitz <drow@false.org> | 2007-06-13 21:03:38 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2007-06-13 21:03:38 +0000 |
commit | 7a245884a865552171cb54a0a390f18f64fe08eb (patch) | |
tree | d4e608ed035bf6d22d3ba2930f403dbad7d665a0 /gdb/gdbserver/linux-low.c | |
parent | 1780a0edf4903787581db60d46e216acc7c70b37 (diff) | |
download | gdb-7a245884a865552171cb54a0a390f18f64fe08eb.zip gdb-7a245884a865552171cb54a0a390f18f64fe08eb.tar.gz gdb-7a245884a865552171cb54a0a390f18f64fe08eb.tar.bz2 |
2007-06-13 Mike Frysinger <vapier@gentoo.org>
* linux-low.c (linux_create_inferior): Change execv to execvp.
* spu-low.c (spu_create_inferior): Likewies.
Diffstat (limited to 'gdb/gdbserver/linux-low.c')
-rw-r--r-- | gdb/gdbserver/linux-low.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbserver/linux-low.c b/gdb/gdbserver/linux-low.c index f144f90..1ea3ccc 100644 --- a/gdb/gdbserver/linux-low.c +++ b/gdb/gdbserver/linux-low.c @@ -165,7 +165,7 @@ linux_create_inferior (char *program, char **allargs) setpgid (0, 0); - execv (program, allargs); + execvp (program, allargs); fprintf (stderr, "Cannot exec %s: %s.\n", program, strerror (errno)); |