diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2018-03-06 09:51:32 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2018-03-06 09:51:32 -0500 |
commit | 228f15081e22abed7ea336126caba26de5a3b791 (patch) | |
tree | fe2810b725688812f281cc354af597d16267189e /gdb/common | |
parent | b2970c238e24e6239760b72c924ee7dd2df9ccd1 (diff) | |
download | gdb-228f15081e22abed7ea336126caba26de5a3b791.zip gdb-228f15081e22abed7ea336126caba26de5a3b791.tar.gz gdb-228f15081e22abed7ea336126caba26de5a3b791.tar.bz2 |
btrace: Remove btrace disable cleanup
This patch removes a cleanup that disables btrace on threads in case of
failure, so we don't leave it enabled for some the threads and disabled
for the rest.
gdb/ChangeLog:
* record-btrace.c (record_btrace_disable_callback): Remove.
(struct scoped_btrace_disable): New.
(record_btrace_open): Use scoped_btrace_disable.
Diffstat (limited to 'gdb/common')
0 files changed, 0 insertions, 0 deletions