This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA/commit(Ada)] SEGV during symbol completion - VEC usage issue
- From: Daniel Jacobowitz <drow at false dot org>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 7 Feb 2008 17:54:08 -0500
- Subject: Re: [RFA/commit(Ada)] SEGV during symbol completion - VEC usage issue
- References: <20080207222459.GF3907@adacore.com>
On Thu, Feb 07, 2008 at 02:24:59PM -0800, Joel Brobecker wrote:
> So I fixed the problem by turning parameter SV into a VEC**.
>
> 2008-02-07 Joel Brobecker <brobecker@adacore.com>
>
> * ada-lang.c (symbol_completion_add): Make SV parameter a VEC**
> instead of just a VEC*. Update use of SV.
> (ada_make_symbol_completion_list): Update symbol_completion_add calls.
>
> Tested on x86-linux, no regression. I'll commit now because it cures a SEGV
> that is easy to hit, but I'd appreciate a second pair of eyes...
Looks correct to me also.
--
Daniel Jacobowitz
CodeSourcery