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 | 2950fdf7423a404f6ebc691606d04917fd68228a (patch) | |
tree | 3072d75a13dd55ea955f206737a2b75a5a547003 /gdb/extension.c | |
parent | 62fe396b1cba6b0c3d06b758d9f8254c6d538ad8 (diff) | |
download | gdb-2950fdf7423a404f6ebc691606d04917fd68228a.zip gdb-2950fdf7423a404f6ebc691606d04917fd68228a.tar.gz gdb-2950fdf7423a404f6ebc691606d04917fd68228a.tar.bz2 |
Make windows_thread_info::name a unique_xmalloc_ptr
This changes windows_thread_info::name to be a unique_xmalloc_ptr,
removing some manual memory management.
gdb/ChangeLog
2020-04-08 Tom Tromey <tromey@adacore.com>
* windows-nat.c (handle_exception)
(windows_nat_target::thread_name): Update.
* nat/windows-nat.h (windows_thread_info): Remove destructor.
<name>: Now unique_xmalloc_ptr.
Diffstat (limited to 'gdb/extension.c')
0 files changed, 0 insertions, 0 deletions