aboutsummaryrefslogtreecommitdiff
path: root/opcodes/sparc-opc.c
diff options
context:
space:
mode:
authorYao Qi <yao.qi@linaro.org>2017-03-29 16:56:31 +0100
committerYao Qi <yao.qi@linaro.org>2017-03-29 16:56:31 +0100
commit1231656410996d2cc271486adc743a0fafe2ab4d (patch)
tree911ae8b65ae5aa44079ce9cf4e979d6fdd4189fe /opcodes/sparc-opc.c
parent52be03fd13a26ecda4f27c451a434f19eded0ca6 (diff)
downloadfsf-binutils-gdb-1231656410996d2cc271486adc743a0fafe2ab4d.zip
fsf-binutils-gdb-1231656410996d2cc271486adc743a0fafe2ab4d.tar.gz
fsf-binutils-gdb-1231656410996d2cc271486adc743a0fafe2ab4d.tar.bz2
Add constructor and destructor to thread_info
This patch adds constructor and destructor to thread_info. gdb: 2017-03-29 Yao Qi <yao.qi@linaro.org> * gdbthread.h (struct thread_info): Declare constructor and destructor. Add some in-class member initializers. * thread.c (free_thread): Remove. (init_thread_list): Call delete instead of free_thread. (new_thread): Call thread_info constructor. (thread_info::thread_info): New function. (thread_info::~thread_info): New function. (delete_thread_1): Call delete instead of free_thread. (make_cleanup_restore_current_thread): Move tp and frame to inner block.
Diffstat (limited to 'opcodes/sparc-opc.c')
0 files changed, 0 insertions, 0 deletions