This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
is there a compelling reason that execv() is used rather than execvp() in gdbserver/linux-low.c ? seems it's just always been that way ... personally, i find it annoying having to do: # gdbserver :1234 /bin/ls / on my embedded board instead of: # gdbserver :1234 ls / having used native gdb a lot more, i typo this pretty often since gdb will search $PATH for the program to run ;( -mike
Attachment:
signature.asc
Description: This is a digitally signed message part.
2007-06-12 Mike Frysinger <vapier@gentoo.org> * linux-low.c (linux_create_inferior): Change execv to execvp. --- linux-low.c +++ linux-low.c @@ -165,7 +165,7 @@ linux_create_inferior (char *program, ch setpgid (0, 0); - execv (program, allargs); + execvp (program, allargs); fprintf (stderr, "Cannot exec %s: %s.\n", program, strerror (errno));
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |