From: Nicholas Nethercote Date: Thu, 30 Jul 2009 23:14:55 +0000 (+0000) Subject: Don't print the command in the preamble with --xml=yes. X-Git-Tag: svn/VALGRIND_3_5_0~183 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0ca08b4fb1e10c7c89d28cc0e752fce298f969ab;p=thirdparty%2Fvalgrind.git Don't print the command in the preamble with --xml=yes. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10667 --- 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");