From 0ca08b4fb1e10c7c89d28cc0e752fce298f969ab Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Thu, 30 Jul 2009 23:14:55 +0000 Subject: [PATCH] Don't print the command in the preamble with --xml=yes. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10667 --- coregrind/m_main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/coregrind/m_main.c b/coregrind/m_main.c index a32d2f29b8..52c5b8111c 100644 --- a/coregrind/m_main.c +++ b/coregrind/m_main.c @@ -1028,9 +1028,9 @@ static void print_preamble ( Bool logging_to_fd, ==9717== fffffffffffffffffffffffffffff 1 2 3 \ ==9717== bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb */ - VG_(umsg)("Command: "); + umsg_or_xml("Command: "); if (VG_(args_the_exename)) - VG_(umsg)("%s", VG_(args_the_exename)); + umsg_or_xml("%s", VG_(args_the_exename)); n = 0; for (i = 0; i < VG_(sizeXA)( VG_(args_for_client) ); i++) { HChar* s = *(HChar**)VG_(indexXA)( VG_(args_for_client), i ); @@ -1043,9 +1043,9 @@ static void print_preamble ( Bool logging_to_fd, VG_(umsg)("\n "); n = slen; } - VG_(umsg)(" %s", s); + umsg_or_xml(" %s", s); } - VG_(umsg)("\n"); + umsg_or_xml("\n"); if (VG_(clo_xml)) VG_(printf_xml)("\n"); -- 2.47.3