OSDN Git Service

gdb/
authorNathan Sidwell <nathan@codesourcery.com>
Tue, 13 Jun 2006 08:55:22 +0000 (08:55 +0000)
committerNathan Sidwell <nathan@codesourcery.com>
Tue, 13 Jun 2006 08:55:22 +0000 (08:55 +0000)
commit1bb0521c47fe861a5fdb63c179f8e1df35ed74bd
tree8e9fae9a9736cce8ffbb52c036ac078d05e75f0f
parent5fb5cf90ccbdcdba7d0e3d168d1b87c22b13276e
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.
gdb/ChangeLog
gdb/doc/gdb.texinfo
gdb/remote-fileio.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/fileio.c
gdb/testsuite/gdb.base/fileio.exp