From: Julian Seward Date: Thu, 30 Jun 2005 00:10:16 +0000 (+0000) Subject: A couple more XML cases that slipped through the net. X-Git-Tag: svn/VALGRIND_3_0_0~262 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2a0a78dffe7f15e9d551ae442373a8d3fc40df69;p=thirdparty%2Fvalgrind.git A couple more XML cases that slipped through the net. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4056 --- diff --git a/coregrind/m_debuginfo/dwarf.c b/coregrind/m_debuginfo/dwarf.c index 08e5f3c462..75dbc21052 100644 --- a/coregrind/m_debuginfo/dwarf.c +++ b/coregrind/m_debuginfo/dwarf.c @@ -2486,7 +2486,8 @@ void ML_(read_callframe_info_dwarf2) return; bad: - VG_(message)(Vg_UserMsg, "Warning: %s in DWARF2 CFI reading", how); + if (!VG_(clo_xml)) + VG_(message)(Vg_UserMsg, "Warning: %s in DWARF2 CFI reading", how); return; } diff --git a/coregrind/m_errormgr.c b/coregrind/m_errormgr.c index 0774120115..cf6cfb0253 100644 --- a/coregrind/m_errormgr.c +++ b/coregrind/m_errormgr.c @@ -465,7 +465,8 @@ void VG_(maybe_record_error) ( ThreadId tid, pointless to continue the Valgrind run after this point. */ if (VG_(clo_error_limit) && (n_errs_shown >= M_COLLECT_NO_ERRORS_AFTER_SHOWN - || n_errs_found >= M_COLLECT_NO_ERRORS_AFTER_FOUND)) { + || n_errs_found >= M_COLLECT_NO_ERRORS_AFTER_FOUND) + && !VG_(clo_xml)) { if (!stopping_message) { VG_(message)(Vg_UserMsg, ""); @@ -498,7 +499,8 @@ void VG_(maybe_record_error) ( ThreadId tid, /* After M_COLLECT_ERRORS_SLOWLY_AFTER different errors have been found, be much more conservative about collecting new ones. */ - if (n_errs_shown >= M_COLLECT_ERRORS_SLOWLY_AFTER) { + if (n_errs_shown >= M_COLLECT_ERRORS_SLOWLY_AFTER + && !VG_(clo_xml)) { exe_res = Vg_LowRes; if (!slowdown_message) { VG_(message)(Vg_UserMsg, "");