diff options
author | Tom Tromey <tom@tromey.com> | 2017-10-08 16:37:46 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2017-10-09 17:39:29 -0600 |
commit | 1a56bfa56ed967c5f6ed98f75834408417a062ff (patch) | |
tree | 4f61c01e698ae009e4bfca0a0a54f69ff09977ed /bfd/i386netbsd.c | |
parent | 0c478e2d060bebea341696806fed6f67122efab6 (diff) | |
download | binutils-gdb-1a56bfa56ed967c5f6ed98f75834408417a062ff.tar.gz |
Remove free_splay_tree cleanup
One spot in gdb uses a cleanup to free a splay tree. This patch
introduces a unique_ptr specialization for this case.
ChangeLog
2017-10-09 Tom Tromey <tom@tromey.com>
* mi/mi-main.c (free_splay_tree): Remove.
(list_available_thread_groups): Use splay_tree_up.
* common/gdb_splay_tree.h: New file.
Diffstat (limited to 'bfd/i386netbsd.c')
0 files changed, 0 insertions, 0 deletions