diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2018-12-31 22:20:56 +0000 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2019-01-03 21:24:02 +0000 |
commit | 169bb27bce3dc43b2bb5f6abf7fc21c19de5454a (patch) | |
tree | 53d44279a7d4e81306d70eea2c0234eece5f2eaa /gdb/python/py-varobj.c | |
parent | a07c88800e88e26fc3a746739f0d2cc8abd30c5d (diff) | |
download | gdb-169bb27bce3dc43b2bb5f6abf7fc21c19de5454a.zip gdb-169bb27bce3dc43b2bb5f6abf7fc21c19de5454a.tar.gz gdb-169bb27bce3dc43b2bb5f6abf7fc21c19de5454a.tar.bz2 |
gdb: Remove cleanup from linux_nat_target::follow_fork
Remove cleanup from linux_nat_target::follow_fork, instead add a new
unique_ptr specialisation for holding lwp_info pointers and use this
to ensure the pointer is cleaned up when needed.
gdb/ChangeLog:
* linux-nat.c (delete_lwp_cleanup): Delete.
(struct lwp_deleter): New struct.
(lwp_info_up): New typedef.
(linux_nat_target::follow_fork): Delete cleanup, and make use of
lwp_info_up.
Diffstat (limited to 'gdb/python/py-varobj.c')
0 files changed, 0 insertions, 0 deletions