find-dbgsym-packages: Fix parsing [vdso: ...] lines in eu-unstrip output
Silences warnings similar to:
Cannot parse eu-unstrip output: '0xf7f84000+0x2000 07b6d4113babfe81b7ef55f17d3afa875ab5a18c@0xf7f84570 . - [vdso: 6113]'
Fixes: 9a82dbc3e4f1540ca9f8a83fd9bebe5ab7ec38be
Jakub Wilk authored 5 years ago
Axel Beckert committed 5 years ago
88 | 88 | \s+ |
89 | 89 | (\S+) |
90 | 90 | \s+ |
91 | (\S+)? | |
91 | (?: (\S+) | (\[vdso:\s+\d+\]) )? | |
92 | 92 | $}ix) { |
93 | 93 | my $id = $1; |
94 | 94 | my $path = $2; |
95 | 95 | my $debug = $3; |
96 | 96 | my $name = $4 // $path; |
97 | my $vdso = $5; | |
97 | 98 | if ($debug ne '-') { |
98 | 99 | next; |
99 | 100 | } |
100 | if ($name =~ /\[vdso: \d+\]/) { | |
101 | if (defined $vdso) { | |
101 | 102 | next; |
102 | 103 | } |
103 | 104 | if ($id eq '-') { |