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: "Wallin, Henrik" <Henrik dot Wallin at windriver dot com>
- To: Pedro Alves <palves at redhat dot com>, "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Thu, 29 Oct 2015 17:49:34 +0000
- 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>,<561FD49B dot 6060506 at redhat dot com>
2015-10-15 18:30 GMT+02:00 Pedro Alves <palves@redhat.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?
Yes, I will loook into adding that. Same for the other ones :)
thanks,
/ Henrik
>
> Thanks,
> Pedro Alves
>