gdb/
commit0ea7f5f4242720488c91fd047626be20b2844f41
authorNathan Sidwell <nathan@codesourcery.com>
Fri, 9 Jun 2006 20:25:24 +0000 (9 20:25 +0000)
committerNathan Sidwell <nathan@codesourcery.com>
Fri, 9 Jun 2006 20:25:24 +0000 (9 20:25 +0000)
tree5b135156a74717096b2af1d071893535e02ff55d
parentb5f8bec7bea37389e0c5c4581bc475967b00b84b
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.
ChangeLog.csl