This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [MI] Segfault using 'interpreter-exec mi'
>>>>> "Marc" == Marc Khouzam <marc.khouzam@ericsson.com> writes:
Marc> Mostly because the error output of mi_parse() has to use some of
Marc> the data that was actually parsed in mi_parse(), which lead me to
Marc> have to play around with return values while handling exceptions,
Marc> or having to free some memory _after_ calling error(), which I
Marc> didn't know how to do.
You can install an 'xfree' cleanup before calling error.
Marc> Could we have the brute force fix now, and leave the improvement
Marc> for later?
I will look at it tomorrow.
Tom