diff options
author | Tom Tromey <tom@tromey.com> | 2020-09-17 11:47:50 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2020-09-17 11:58:56 -0600 |
commit | 7a8a5d47c37832da7203f5c54d41623c2f065b22 (patch) | |
tree | 7d5f121c5426d050a369efb9a9bffab947ccebfd /bfd/binary.c | |
parent | 99032cfcc6c12006ba6184318c5df5b08a65e58a (diff) | |
download | gdb-7a8a5d47c37832da7203f5c54d41623c2f065b22.zip gdb-7a8a5d47c37832da7203f5c54d41623c2f065b22.tar.gz gdb-7a8a5d47c37832da7203f5c54d41623c2f065b22.tar.bz2 |
Use htab_up in linespec.c
This changes linespec.c to use htab_up rather than explicit calls to
htab_delete. Note that a use still exists in this file, because
linespec_state hasn't been converted to have a real destructor.
gdb/ChangeLog
2020-09-17 Tom Tromey <tom@tromey.com>
* linespec.c (class decode_compound_collector)
<~decode_compound_collector>: Remove.
<m_unique_syms>: Now htab_up.
(decode_compound_collector::operator ()): Update.
(class symtab_collector) <~symtab_collector>: Remove.
<m_symtab_table>: Now htab_up.
(symtab_collector::operator ()): Update.
Diffstat (limited to 'bfd/binary.c')
0 files changed, 0 insertions, 0 deletions