|
From: <sv...@va...> - 2005-09-28 19:59:27
|
Author: sewardj
Date: 2005-09-28 20:59:19 +0100 (Wed, 28 Sep 2005)
New Revision: 4812
Log:
Fix command-line printing.
Modified:
trunk/coregrind/m_main.c
Modified: trunk/coregrind/m_main.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/m_main.c 2005-09-28 19:58:58 UTC (rev 4811)
+++ trunk/coregrind/m_main.c 2005-09-28 19:59:19 UTC (rev 4812)
@@ -1518,6 +1518,8 @@
VG_(message)(Vg_UserMsg,=20
"My PID =3D %d, parent PID =3D %d. Prog and args are:",
VG_(getpid)(), VG_(getppid)() );
+ if (VG_(args_the_exename))
+ VG_(message)(Vg_UserMsg, " %s", VG_(args_the_exename));
for (i =3D 0; i < VG_(args_for_client).used; i++)=20
VG_(message)(Vg_UserMsg, " %s", VG_(args_for_client).strs[i])=
;
if (VG_(clo_log_file_qualifier)) {
|