diff options
author | Tom Tromey <tom@tromey.com> | 2025-01-07 18:03:28 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2025-01-11 11:21:59 -0700 |
commit | 51a013a937bbc732924b12bc1e9aaed87dae42ad (patch) | |
tree | 6610d7e84286e6c59a7787c9d30af474afb2f638 /gdb/python/py-param.c | |
parent | 84a1fad76be4e0c028accc927a5df13f279fcff4 (diff) | |
download | binutils-51a013a937bbc732924b12bc1e9aaed87dae42ad.zip binutils-51a013a937bbc732924b12bc1e9aaed87dae42ad.tar.gz binutils-51a013a937bbc732924b12bc1e9aaed87dae42ad.tar.bz2 |
Use gdb::unordered_set in linespec_state
This patch changes linespec_state to use gdb::unordered_set. This
simplifies the code a little and removes some manual management. It
also replaces address_entry with a std::pair, which simplifies the
code even more; and since this is a private type, IMO it doesn't
reduce readability at all.
Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb/python/py-param.c')
0 files changed, 0 insertions, 0 deletions