This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: rawhide's gdb segfaults, w/patch
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: Jim Meyering <jim at meyering dot net>, gdb-patches at sourceware dot org, Corinna Vinschen <vinschen at redhat dot com>
- Date: Wed, 11 Feb 2009 20:45:50 +0100
- Subject: Re: rawhide's gdb segfaults, w/patch
- References: <87abag9pi1.fsf@rho.meyering.net> <20090109214512.GA5851@host0.dyn.jankratochvil.net> <m38wooptlc.fsf@fleche.redhat.com>
On Mon, 02 Feb 2009 19:43:59 +0100, Tom Tromey wrote:
> >>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
>
> Jan> gdb/
> Jan> 2009-01-09 Jim Meyering <meyering@redhat.com>
> Jan> Jan Kratochvil <jan.kratochvil@redhat.com>
> Jan> Avoid NULL dereference.
> Jan> * stack.c (return_command): Guard use of SYMBOL_TYPE (thisfun).
> Jan> New variable func_type.
>
> I looked at this and I think it is ok. Please check it in. Thanks.
Checked-in (this fix, not the testcase).
http://sourceware.org/ml/gdb-cvs/2009-02/msg00069.html
> Jan> gdb/testsuite/
> Jan> 2009-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
> Jan> * gdb.base/nodebug.exp (return from function with no debug info): New.
Posted another fix + testcase which covers even the case above:
http://sourceware.org/ml/gdb-patches/2009-02/msg00243.html
Thanks,
Jan