]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Suppress stack-switching message in XML mode.
authorJulian Seward <jseward@acm.org>
Tue, 6 May 2008 21:01:19 +0000 (21:01 +0000)
committerJulian Seward <jseward@acm.org>
Tue, 6 May 2008 21:01:19 +0000 (21:01 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8012

coregrind/m_stacks.c

index 9a51525d61fe7030117cb981daa0ef68f3e1c766..10cafdfe2e423901e331711654eb1b838fe41f8a 100644 (file)
@@ -301,7 +301,7 @@ void VG_(unknown_SP_update)( Addr old_SP, Addr new_SP, UInt ecu )
          permissions.  Seems to work well with Netscape 4.X.  Really the
          only remaining difficulty is knowing exactly when a stack switch is
          happening. */
-      if (VG_(clo_verbosity) > 0 && moans > 0) {
+      if (VG_(clo_verbosity) > 0 && moans > 0 && !VG_(clo_xml)) {
          moans--;
          VG_(message)(Vg_UserMsg,
             "Warning: client switching stacks?  "