|
From: <sv...@va...> - 2005-07-26 23:43:33
|
Author: sewardj
Date: 2005-07-27 00:43:26 +0100 (Wed, 27 Jul 2005)
New Revision: 4275
Log:
If --log-file-qualifier=3D is set, and we're logging to a file or
socket, emit the qualifier and its current value in the plain text
output as well as in the XML. (Ashley Pittman).
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-07-26 23:06:18 UTC (rev 4274)
+++ trunk/coregrind/m_main.c 2005-07-26 23:43:26 UTC (rev 4275)
@@ -1905,6 +1905,13 @@
VG_(getpid)(), VG_(getppid)() );
for (i =3D 0; i < VG_(client_argc); i++)=20
VG_(message)(Vg_UserMsg, " %s", VG_(client_argv)[i]);
+ if (VG_(clo_log_file_qualifier)) {
+ HChar* val =3D VG_(getenv)(VG_(clo_log_file_qualifier));
+ VG_(message)(Vg_UserMsg, "");
+ VG_(message)(Vg_UserMsg, "Log file qualifier: var %s, value %s.=
",
+ VG_(clo_log_file_qualifier),
+ val ? val : "");
+ }
}
else
if (VG_(clo_xml)) {
|