]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
xml output for tool=none is fine too.
authorCerion Armour-Brown <cerion@valgrind.org>
Wed, 13 Jul 2005 14:18:24 +0000 (14:18 +0000)
committerCerion Armour-Brown <cerion@valgrind.org>
Wed, 13 Jul 2005 14:18:24 +0000 (14:18 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4147

coregrind/m_main.c

index 1cd8dfb3c552dac21043d9d3e86474897e63bad7..d4e2e457ef3f042d695e6f8732f24755d83efd3e 100644 (file)
@@ -1791,10 +1791,11 @@ static void process_cmd_line_options( UInt* client_auxv, const char* toolname )
 
 
    /* Check that the requested tool actually supports XML output. */
-   if (VG_(clo_xml) && 0 != VG_(strcmp)(toolname, "memcheck")) {
+   if (VG_(clo_xml) && 0 != VG_(strcmp)(toolname, "memcheck")
+                    && 0 != VG_(strcmp)(toolname, "none")) {
       VG_(clo_xml) = False;
       VG_(message)(Vg_UserMsg, 
-         "Currently only Memcheck supports XML output."); 
+         "Currently only Memcheck|None supports XML output."); 
       VG_(bad_option)("--xml=yes");
       /*NOTREACHED*/
    }