From: Julian Seward Date: Mon, 8 Dec 2008 13:45:35 +0000 (+0000) Subject: Fix bug introduced by frame-level wildcarding changes for suppressions X-Git-Tag: svn/VALGRIND_3_4_0~84 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=febfd1dcd81aaeb4f06f58940f6f735755f16178;p=thirdparty%2Fvalgrind.git Fix bug introduced by frame-level wildcarding changes for suppressions in r8725. (Konstantin Serebryany) git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8813 --- diff --git a/coregrind/m_errormgr.c b/coregrind/m_errormgr.c index 90560adc58..bf2760add2 100644 --- a/coregrind/m_errormgr.c +++ b/coregrind/m_errormgr.c @@ -1237,7 +1237,7 @@ Bool supp_matches_callers_WRK ( StackTrace trace, Int n_ips, if (!VG_(get_fnname_Z_demangle_only)(trace[j], tmp, ERRTXT_LEN)) VG_(strcpy)(tmp, "???"); - if (VG_(string_match)(tmp, lookahead)) { + if (VG_(string_match)(lookahead, tmp)) { // found a possible continuation, try from there return supp_matches_callers_WRK( &trace[j], n_ips - j,