This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA/commit(Ada)] SEGV during symbol completion - VEC usage issue


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]