Rename and refactor psymtab_include_file_name
authorTom Tromey <tom@tromey.com>
Sun, 4 Jul 2021 18:21:31 +0000 (12:21 -0600)
committerTom Tromey <tom@tromey.com>
Sat, 17 Jul 2021 16:41:42 +0000 (10:41 -0600)
commitae9a5dd6ae1245163c367aded91bde66e45bb4b0
tree6cb1585b3e537d63cd0bb1595f801135ddf24401
parent3dab9e15d3ab1cde555dfbf4a958eb17eec2ecb3
Rename and refactor psymtab_include_file_name

In order to fix an index-related regression, I want to use
psymtab_include_file_name in the DWARF index file-handling code.  This
patch renames this function and changes it to no longer require a
partial symtab to be passed in.  A subsequent patch will further
refactor this code to remove the redundant parameter (which was always
there but is now more obvious).
gdb/dwarf2/read.c