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: Tue, 21 Jan 2014 15:17: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>
On Mon, 20 Jan 2014 10:00:21 +0100, Markus Metzger wrote:
> In the remote case, the remote target that provides to_teardown_btrace
> to free the GDB side resources has already been unpushed when threads
> are destroyed. This results in a complaint "You can't do this ..." and
> in a few bytes of memory leaked for each thread.
Could you provide an example when this error happens?
I can reproduce it with plain gdb+gdbserver but not with btrace functionality.
Thanks,
Jan