Pass file_and_directory through DWARF line-decoding code
authorTom Tromey <tom@tromey.com>
Sun, 4 Jul 2021 18:31:18 +0000 (12:31 -0600)
committerTom Tromey <tom@tromey.com>
Sat, 17 Jul 2021 16:41:42 +0000 (10:41 -0600)
commitdcce7ec41082666e51e39480e2c4037124e1e1b5
treed5ce473d0191b5a3114cee727b49e8ebbd3eb6d4
parentae9a5dd6ae1245163c367aded91bde66e45bb4b0
Pass file_and_directory through DWARF line-decoding code

This patch removes the redundant "comp_unit" parameter from
compute_include_file_name, and arranges to pass a file_and_directory
object from the readers down to this function.  It also changes the
partial symtab reader to use find_file_and_directory, rather than
reimplement this functionality by hand.
gdb/dwarf2/read.c