diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2023-01-31 13:27:21 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2023-01-31 22:03:40 -0500 |
commit | 19455ee11dee11bd4ad1d05aac6f86114ec37848 (patch) | |
tree | 3e1a381d5e98f89c88debe87d2c920d13716929d /gdb/dwarf2/mapped-index.h | |
parent | a8dc67183978d0b0369ec7e45b19ccd613a2321d (diff) | |
download | gdb-19455ee11dee11bd4ad1d05aac6f86114ec37848.zip gdb-19455ee11dee11bd4ad1d05aac6f86114ec37848.tar.gz gdb-19455ee11dee11bd4ad1d05aac6f86114ec37848.tar.bz2 |
gdb/dwarf: rename cooked_index_vector to cooked_index
See previous patch's commit message for rationale.
Change-Id: I6b8cdc045dffccc1c01ed690ff258af09f6ff076
Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/dwarf2/mapped-index.h')
-rw-r--r-- | gdb/dwarf2/mapped-index.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/dwarf2/mapped-index.h b/gdb/dwarf2/mapped-index.h index 40f2444..29c7291 100644 --- a/gdb/dwarf2/mapped-index.h +++ b/gdb/dwarf2/mapped-index.h @@ -47,7 +47,7 @@ struct name_component offset_type idx; }; -class cooked_index_vector; +class cooked_index; /* Base class of all DWARF scanner types. */ @@ -72,7 +72,7 @@ struct dwarf_scanner_base /* This is called when writing an index. For a cooked index, it will return 'this' as a cooked index. For other forms, it will throw an exception with an appropriate error message. */ - virtual cooked_index_vector *index_for_writing () = 0; + virtual cooked_index *index_for_writing () = 0; }; /* Base class containing bits shared by both .gdb_index and @@ -117,7 +117,7 @@ struct mapped_index_base : public dwarf_scanner_base enum language lang, dwarf2_per_objfile *per_objfile) const; - cooked_index_vector *index_for_writing () override + cooked_index *index_for_writing () override { error (_("Cannot use an index to create the index")); } |