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] Fix "Segmentation fault" when "gdb -v"


On Thursday 04 March 2010 14:02:07, Pedro Alves wrote:
> I agree, and turns out this is what's already happening, albeit in
> a "works almost by accident" way.  I think this patch below wouldn't
> be that bad afterall.  It does fix the problem.

I went ahead and applied this.  Thanks.

> 2010-03-04  Pedro Alves  <pedro@codesourcery.com>
> 
>         * utils.c (fputs_maybe_filtered): Check if there's already a top
>         level interpreter before dereferencing it.  If there isn't one,
>         don't paginate either.

-- 
Pedro Alves


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