This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] btrace: initiate teardown when closing record btrace target
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Markus Metzger <markus dot t dot metzger at intel dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Sun, 26 Jan 2014 21:36:06 +0100
- Subject: Re: [PATCH] btrace: initiate teardown when closing record btrace target
- Authentication-results: sourceware.org; auth=none
- References: <1390208421-6522-1-git-send-email-markus dot t dot metzger at intel dot com>
Hello Markus,
On Mon, 20 Jan 2014 10:00:21 +0100, Markus Metzger wrote:
> Initiate btrace teardown in record_btrace_close, so the remote target is
> still in place.
>
> 2014-01-20 Markus Metzger <markus.t.metzger@intel.com>
>
> * record-btrace.c (record_btrace_close): Call btrace_teardown
> for all threads.
yes, fine with the patch.
The placement in record_btrace_close() is also symmetrical to btrace_enable()
in record_btrace_open().
Thanks,
Jan