author | William Roberts <williamr@symbian.org> |
Fri, 16 Jul 2010 11:44:48 +0100 | |
changeset 10 | 375cb23d95ba |
parent 9 | cb10ec12dc45 |
child 11 | 3dcb71781467 |
--- a/tools/summarise_gcc_errors.pl Wed Jul 07 15:43:49 2010 +0100 +++ b/tools/summarise_gcc_errors.pl Fri Jul 16 11:44:48 2010 +0100 @@ -483,9 +483,11 @@ } $last_elffile = $elffile; } + my $length = length($symbol); foreach my $line (@last_objdump) { - if (index($line,$symbol) >= 0) + chomp $line; + if (substr($line,-$length) eq $symbol) { push @instances, $line; }