diff options
author | Tom Tromey <tromey@adacore.com> | 2023-01-27 09:20:43 -0700 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2023-01-27 14:12:01 -0700 |
commit | 35e1763185224b2bf634e19cdfd06dab0ba914e3 (patch) | |
tree | f7dd44aeffd0ede58573d7d80dc3304f8b4b6dab /gdb/or1k-tdep.c | |
parent | d9195131530370f56e78a2b084928c11da536d9e (diff) | |
download | binutils-35e1763185224b2bf634e19cdfd06dab0ba914e3.zip binutils-35e1763185224b2bf634e19cdfd06dab0ba914e3.tar.gz binutils-35e1763185224b2bf634e19cdfd06dab0ba914e3.tar.bz2 |
More const-correctness in cooked indexer
I noticed that iterating over the index yields non-const
cooked_index_entry objects. However, after finalization, they should
not be modified. This patch enforces this by adding const where
needed.
v2 makes the find, all_entries, and wait methods const as well.
Diffstat (limited to 'gdb/or1k-tdep.c')
0 files changed, 0 insertions, 0 deletions