Fix bug introduced by frame-level wildcarding changes for suppressions

in r8725.  (Konstantin Serebryany)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8813
This commit is contained in:
Julian Seward 2008-12-08 13:45:35 +00:00
parent e352772610
commit febfd1dcd8

View File

@ -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,