gdb/symtab: compute match_type outside the loop
commit1cd542c8e9a40a4deff1709bf6e9344c5e79f7d6
authorDmitry Neverov <dmitry.neverov@jetbrains.com>
Mon, 6 May 2024 15:09:19 +0000 (6 17:09 +0200)
committerTom Tromey <tromey@adacore.com>
Fri, 17 May 2024 14:02:30 +0000 (17 08:02 -0600)
tree479169c728153bc8a0209f0e348d59eaf1b61f70
parent5d0e1642037299741331fa6e76f68c0b1180b9e5
gdb/symtab: compute match_type outside the loop

It will be used for all segments in a qualified name,
not only the last one.

Approved-By: Tom Tromey <tom@tromey.com>
gdb/dwarf2/read.c