This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog fork-child.c
- From: gingold at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 16 Sep 2011 15:41:09 -0000
- Subject: src/gdb ChangeLog fork-child.c
CVSROOT: /cvs/src
Module name: src
Changes by: gingold@sourceware.org 2011-09-16 15:41:09
Modified files:
gdb : ChangeLog fork-child.c
Log message:
2011-09-16 Tristan Gingold <gingold@adacore.com>
* fork-child.c (fork_inferior): Update comment. Use alloca
instead of xmalloc for argv. Move len and shell_command
declarations in the block where they are used.
Only call execvp. Factorize failure code.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.13339&r2=1.13340
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/fork-child.c.diff?cvsroot=src&r1=1.62&r2=1.63