aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2/index-write.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-write.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-write.c')
-rw-r--r--gdb/dwarf2/index-write.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/dwarf2/index-write.c b/gdb/dwarf2/index-write.c
index 7a6bc24..95202db 100644
--- a/gdb/dwarf2/index-write.c
+++ b/gdb/dwarf2/index-write.c
@@ -1577,9 +1577,9 @@ struct index_wip_file
/* See dwarf-index-write.h. */
void
-write_psymtabs_to_index (dwarf2_per_objfile *per_objfile, const char *dir,
- const char *basename, const char *dwz_basename,
- dw_index_kind index_kind)
+write_dwarf_index (dwarf2_per_objfile *per_objfile, const char *dir,
+ const char *basename, const char *dwz_basename,
+ dw_index_kind index_kind)
{
dwarf2_per_bfd *per_bfd = per_objfile->per_bfd;
struct objfile *objfile = per_objfile->objfile;
@@ -1675,8 +1675,8 @@ save_gdb_index_command (const char *arg, int from_tty)
if (dwz != NULL)
dwz_basename = lbasename (dwz->filename ());
- write_psymtabs_to_index (per_objfile, arg, basename, dwz_basename,
- index_kind);
+ write_dwarf_index (per_objfile, arg, basename, dwz_basename,
+ index_kind);
}
catch (const gdb_exception_error &except)
{