aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2/index-cache.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2021-05-27 14:52:11 -0600
committerTom Tromey <tom@tromey.com>2022-04-12 09:31:16 -0600
commit58f707487b8b67237dd798c48c098c7fb21f03bb (patch)
treeabdf54387be4d8c650dbd73904c142085166f25e /gdb/dwarf2/index-cache.c
parent7e752790937c73d8ca61dc207f8e1e609d5644c0 (diff)
downloadgdb-58f707487b8b67237dd798c48c098c7fb21f03bb.zip
gdb-58f707487b8b67237dd798c48c098c7fb21f03bb.tar.gz
gdb-58f707487b8b67237dd798c48c098c7fb21f03bb.tar.bz2
Rename write_psymtabs_to_index
We'll be removing all the psymtab code from the DWARF reader. As a preparatory step, this renames write_psymtabs_to_index to avoid the "psymtab" name.
Diffstat (limited to 'gdb/dwarf2/index-cache.c')
-rw-r--r--gdb/dwarf2/index-cache.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/dwarf2/index-cache.c b/gdb/dwarf2/index-cache.c
index db9a6eb..18e60cb 100644
--- a/gdb/dwarf2/index-cache.c
+++ b/gdb/dwarf2/index-cache.c
@@ -148,9 +148,9 @@ index_cache::store (dwarf2_per_objfile *per_objfile)
/* Write the index itself to the directory, using the build id as the
filename. */
- write_psymtabs_to_index (per_objfile, m_dir.c_str (),
- build_id_str.c_str (), dwz_build_id_ptr,
- dw_index_kind::GDB_INDEX);
+ write_dwarf_index (per_objfile, m_dir.c_str (),
+ build_id_str.c_str (), dwz_build_id_ptr,
+ dw_index_kind::GDB_INDEX);
}
catch (const gdb_exception_error &except)
{