diff options
author | Tom Tromey <tromey@adacore.com> | 2020-04-08 14:33:35 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2020-04-08 14:47:58 -0600 |
commit | 65bafd5b156bcb4f308f304e55a03e13f4eb2bed (patch) | |
tree | 3107d5662dc2b243e0a142a5b2d6082cb33131ea /gdb/sparc-nat.c | |
parent | 0a4afda3c63687cc5cbbdae78850ee66967cd648 (diff) | |
download | gdb-65bafd5b156bcb4f308f304e55a03e13f4eb2bed.zip gdb-65bafd5b156bcb4f308f304e55a03e13f4eb2bed.tar.gz gdb-65bafd5b156bcb4f308f304e55a03e13f4eb2bed.tar.bz2 |
Call CloseHandle from ~windows_thread_info
Add a destructor to windows_thread_info that calls CloseHandle.
gdb/ChangeLog
2020-04-08 Tom Tromey <tromey@adacore.com>
* nat/windows-nat.h (struct windows_thread_info): Declare
destructor.
* nat/windows-nat.c (~windows_thread_info): New.
gdbserver/ChangeLog
2020-04-08 Tom Tromey <tromey@adacore.com>
* win32-low.c (delete_thread_info): Don't call CloseHandle.
Diffstat (limited to 'gdb/sparc-nat.c')
0 files changed, 0 insertions, 0 deletions