This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC][PATCH 03/15] Fix crash in enable/disable after detach
- From: Pedro Alves <palves at redhat dot com>
- To: henrik dot wallin at windriver dot com, gdb-patches at sourceware dot org
- Date: Thu, 15 Oct 2015 17:30:19 +0100
- Subject: Re: [RFC][PATCH 03/15] Fix crash in enable/disable after detach
- Authentication-results: sourceware.org; auth=none
- References: <cover dot 1444820235 dot git dot henrik dot wallin at windriver dot com> <1b888df5d304f17e169cc2b0ea214cc4115ba4ab dot 1444820235 dot git dot henrik dot wallin at windriver dot com>
On 10/14/2015 12:14 PM, henrik.wallin@windriver.com wrote:
> From: Par Olsson <par.olsson@windriver.com>
>
> When calling enable/disable on a fast tracepoint
> after detaching the process, gdbserver tries to
> access inferior memory which results in a crash.
>
> gdb/gdbserver/ChangeLog:
>
> * tracepoint.c (cmd_qtenable_disable): Fix problem with
> enabling tracepoint after inferior have disconnected.
Can you write/show a test case?
Thanks,
Pedro Alves