diff options
author | Tom Tromey <tom@tromey.com> | 2020-12-11 09:21:53 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2020-12-11 09:21:55 -0700 |
commit | bfcb9db853c41ffff74c77d338b8b1378781aa0e (patch) | |
tree | 528ca883d8200bcbbac7b80e2be980679cc8f4af /gdb/breakpoint.h | |
parent | d634cd0bcef830f2c8b9a544f1f0621fa382e2cc (diff) | |
download | gdb-bfcb9db853c41ffff74c77d338b8b1378781aa0e.zip gdb-bfcb9db853c41ffff74c77d338b8b1378781aa0e.tar.gz gdb-bfcb9db853c41ffff74c77d338b8b1378781aa0e.tar.bz2 |
Remove scoped_inc_dec_ref
We can remove scoped_inc_dec_ref by changing the sole user to instead
keep a vector of thread_info_ref objects. This removes some manual
reference counting and simplifies the code a bit.
gdb/ChangeLog
2020-12-11 Tom Tromey <tom@tromey.com>
* thread.c (class scoped_inc_dec_ref): Remove.
(tp_array_compar_ascending, tp_array_compar_descending): Change
parameter types.
(thread_apply_all_command): Use thread_info_ref.
Diffstat (limited to 'gdb/breakpoint.h')
0 files changed, 0 insertions, 0 deletions