Suppress stack-switching message in XML mode.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8012
This commit is contained in:
Julian Seward 2008-05-06 21:01:19 +00:00
parent 35695d8b1a
commit c2de8fa58b

View 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? "