XML printing fixes for printing to file descriptors.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4054 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/m_main.c b/coregrind/m_main.c
index ee6fde2..f518c25 100644
--- a/coregrind/m_main.c
+++ b/coregrind/m_main.c
@@ -1855,7 +1855,7 @@
VG_(message)(Vg_UserMsg, "</preamble>");
}
- if (VG_(clo_verbosity) > 0 && log_to != VgLogTo_Fd) {
+ if (!VG_(clo_xml) && VG_(clo_verbosity) > 0 && log_to != VgLogTo_Fd) {
VG_(message)(Vg_UserMsg, "");
VG_(message)(Vg_UserMsg,
"My PID = %d, parent PID = %d. Prog and args are:",