Simplify DWARF file name caching
authorTom Tromey <tom@tromey.com>
Sun, 4 Jul 2021 19:14:10 +0000 (13:14 -0600)
committerTom Tromey <tom@tromey.com>
Sat, 17 Jul 2021 16:41:42 +0000 (10:41 -0600)
commite0ec6b1a8796127c5141647bfe88e260716d6cd4
tree0c767eb98df7037e950e963cb198b3a0896e2549
parent4584f33d68b79c362ce9f3543052027b1676f30e
Simplify DWARF file name caching

The DWARF index file name caching code only records when a line table
has been read and the reading failed.  However, the code would be
simpler if it recorded any attempt, which is what this patch
implements.
gdb/dwarf2/read.c