diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2021-09-28 16:02:29 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2021-10-21 16:10:54 -0400 |
commit | d2f325df0b54b0fed87f74c284f0a067b7233a14 (patch) | |
tree | 7415bedf2283d7f1ce356275aa628463870a984e /gdb/windows-nat.c | |
parent | add3db9182348555b80ec850b58a6f423b0e6bc5 (diff) | |
download | fsf-binutils-gdb-d2f325df0b54b0fed87f74c284f0a067b7233a14.zip fsf-binutils-gdb-d2f325df0b54b0fed87f74c284f0a067b7233a14.tar.gz fsf-binutils-gdb-d2f325df0b54b0fed87f74c284f0a067b7233a14.tar.bz2 |
gdbserver: make thread_info non-POD
Add a constructor and a destructor. The constructor takes care of the
initialization that happened in add_thread, while the destructor takes
care of the freeing that happened in free_one_thread. This is needed to
make target_waitstatus non-POD, as thread_info contains a member of that
type.
Change-Id: I1db321b4de9dd233ede0d5c101950f1d6f1d13b7
Diffstat (limited to 'gdb/windows-nat.c')
0 files changed, 0 insertions, 0 deletions