This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC][PATCH 02/15] Fix internal error when saving fast tracepoint definitions
- 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 18:19:02 +0100
- Subject: Re: [RFC][PATCH 02/15] Fix internal error when saving fast tracepoint definitions
- Authentication-results: sourceware.org; auth=none
- References: <cover dot 1444820235 dot git dot henrik dot wallin at windriver dot com> <56c885a8de03c9679e8fd2208e3b6c6f8df12dfa 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 trying to save fast tracepoints to file, gdb returns internal failure:
>
> gdb/breakpoint.c:13446: internal-error: unhandled tracepoint type 27
> A problem internal to GDB has been detected, further debugging may prove unreliable.
>
> And no file including the fast tracepoints definition is created.
>
> gdb/ChangeLog:
>
> * breakpoint.c (tracepoint_print_recreate): Fix logic error
> if -> else if.
This looks good, but I think we have tests that save/restore breakpoints.
Can we extend them to cover this as well?
Thanks,
Pedro Alves