This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: GDB is broken on systems with readline built without -fexceptions
- From: Pedro Alves <palves at redhat dot com>
- To: "gdb at sourceware dot org" <gdb at sourceware dot org>
- Date: Thu, 21 Apr 2016 17:32:42 +0100
- Subject: Re: GDB is broken on systems with readline built without -fexceptions
- Authentication-results: sourceware.org; auth=none
- References: <5718E387 dot 2090904 at redhat dot com> <5718E444 dot 7070900 at redhat dot com>
On 04/21/2016 03:31 PM, Pedro Alves wrote:
> Forgot to qualify "broken". The symptom is:
>
> (gdb) whatever-command-that-causes-an-error
> terminate called after throwing an instance of 'gdb_exception_RETURN_MASK_ERROR'
> Aborted
> $
>
A proper fix is turning out to be more complicated than I'd hope,
so in the mean time, to get things working again, I flipped gdb's
TRY/CATCH mechanism back to setjmp/longjmp instead of C++ try/catch,
again.
You should no longer need the --enable-build-with-cxx=no workaround.
Thanks,
Pedro Alves