This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] completer test [was Re: [RFC] Cleanup for make_source_files_completion_list]
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Keith Seitz <keiths at redhat dot com>
- Cc: "gdb-patches at sourceware dot org ml" <gdb-patches at sourceware dot org>
- Date: Fri, 17 May 2013 09:14:35 +0400
- Subject: Re: [RFA] completer test [was Re: [RFC] Cleanup for make_source_files_completion_list]
- References: <CADPb22Sj_5Bp+FhoQYk_9vR5c1D3fXsw4gLFu7v+jmDNSaOPFg at mail dot gmail dot com> <5191340B dot 60100 at redhat dot com> <519156F5 dot 5090000 at redhat dot com> <5193C786 dot 4000207 at redhat dot com> <5193E2DC dot 5000200 at redhat dot com> <m3r4h7kh4p dot fsf at redhat dot com> <51941E85 dot 8010104 at redhat dot com> <20130516053008 dot GA5555 at adacore dot com> <20130516054906 dot GB5555 at adacore dot com> <5194FE2A dot 7000205 at redhat dot com>
> Actually, I have a patch for this. I ran across the same thing with
> Insight. This assert is being triggered by find_frame_funname, which
> contains a dangling cleanup. This is in ada-lang.c in two places.
>
> I will be submitting as soon as I have enough coffee.
For the record, I briefly looked at the patch, and I think they
are different issues, so thanks for taking a look!
I suspect we are going to find a large number of issues in
ada-lang, simply because I never quite grasped the fact that
cleanups should not be leaked under normal execution (only
when an exception is raised, in which case they get automatically
performed).
--
Joel