From: Julian Seward Date: Tue, 6 May 2008 21:01:19 +0000 (+0000) Subject: Suppress stack-switching message in XML mode. X-Git-Tag: svn/VALGRIND_3_4_0~625 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c2de8fa58bb2142dbe001eee6decd3e476d5f502;p=thirdparty%2Fvalgrind.git Suppress stack-switching message in XML mode. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8012 --- diff --git a/coregrind/m_stacks.c b/coregrind/m_stacks.c index 9a51525d61..10cafdfe2e 100644 --- a/coregrind/m_stacks.c +++ b/coregrind/m_stacks.c @@ -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? "