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)
commit5600ea19e0ff645c85a8719648655c2e7b2e4717
tree606de62b7a27178ba351bec8d579244edb0c0ac1
parente1c2defab5219dd0aa2a64d865e78d9ac736d0ac
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