This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb remote-fileio.c doc/gdb.texinfo testsu ...
- From: nathan at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 9 Jun 2006 20:25:26 -0000
- Subject: src/gdb remote-fileio.c doc/gdb.texinfo testsu ...
CVSROOT: /cvs/src
Module name: src
Branch: gdb-csl-20060226-branch
Changes by: nathan@sourceware.org 2006-06-09 20:25:26
Modified files:
gdb : remote-fileio.c
gdb/doc : gdb.texinfo
gdb/testsuite/gdb.base: fileio.c fileio.exp
Log message:
gdb/
* remote-file.io.c (remote_fileio_func_system): Treat zero length
string as NULL. Adjust for NULL pointer argument.
* doc/gdb.texinfo (system): Document behaviour with zero length
string.
gdb/testsuite/
* gdb.base/fileio.c: Add system(NULL) test.
* gdb.base/fileio.exp: Check it.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/remote-fileio.c.diff?cvsroot=src&only_with_tag=gdb-csl-20060226-branch&r1=1.17.2.1&r2=1.17.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/doc/gdb.texinfo.diff?cvsroot=src&only_with_tag=gdb-csl-20060226-branch&r1=1.314.2.2&r2=1.314.2.3
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/fileio.c.diff?cvsroot=src&only_with_tag=gdb-csl-20060226-branch&r1=1.8.12.1&r2=1.8.12.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/fileio.exp.diff?cvsroot=src&only_with_tag=gdb-csl-20060226-branch&r1=1.7.30.1&r2=1.7.30.2