With -v option, client program's argv[] now printed at startup.  Should be
useful when trying to interpret users' problems.  Each argv is printed on a
separate line, to make it extra clear where each one starts and ends.

MERGE TO STABLE (PLEASE!)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1816 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/vg_main.c b/coregrind/vg_main.c
index 1d29a6f..a79f8bb 100644
--- a/coregrind/vg_main.c
+++ b/coregrind/vg_main.c
@@ -1194,6 +1194,10 @@
    if (VG_(clo_verbosity) > 1) {
       if (VG_(clo_log_to) != VgLogTo_Fd)
          VG_(message)(Vg_UserMsg, "");
+      VG_(message)(Vg_UserMsg, "Command line");
+      for (i = 0; i < VG_(client_argc); i++)
+         VG_(message)(Vg_UserMsg, "   %s", VG_(client_argv)[i]);
+
       VG_(message)(Vg_UserMsg, "Startup, with flags:");
       for (i = 0; i < argc; i++) {
          VG_(message)(Vg_UserMsg, "   %s", argv[i]);