From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28597 invoked by alias); 11 Feb 2009 19:46:03 -0000 Received: (qmail 28565 invoked by uid 22791); 11 Feb 2009 19:46:02 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,KAM_STOCKGEN,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 11 Feb 2009 19:45:56 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n1BJjtB5026315 for ; Wed, 11 Feb 2009 14:45:55 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n1BJjtWO001402; Wed, 11 Feb 2009 14:45:55 -0500 Received: from host0.dyn.jankratochvil.net (sebastian-int.corp.redhat.com [172.16.52.221]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n1BJjrvd012633; Wed, 11 Feb 2009 14:45:54 -0500 Received: from host0.dyn.jankratochvil.net (localhost [127.0.0.1]) by host0.dyn.jankratochvil.net (8.14.3/8.14.3) with ESMTP id n1BJjpUE017384; Wed, 11 Feb 2009 20:45:52 +0100 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.14.3/8.14.2/Submit) id n1BJjoM1017377; Wed, 11 Feb 2009 20:45:50 +0100 Date: Wed, 11 Feb 2009 19:46:00 -0000 From: Jan Kratochvil To: Tom Tromey Cc: Jim Meyering , gdb-patches@sourceware.org, Corinna Vinschen Subject: Re: rawhide's gdb segfaults, w/patch Message-ID: <20090211194550.GA23131@host0.dyn.jankratochvil.net> References: <87abag9pi1.fsf@rho.meyering.net> <20090109214512.GA5851@host0.dyn.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-02/txt/msg00244.txt.bz2 On Mon, 02 Feb 2009 19:43:59 +0100, Tom Tromey wrote: > >>>>> "Jan" == Jan Kratochvil writes: > > Jan> gdb/ > Jan> 2009-01-09 Jim Meyering > Jan> Jan Kratochvil > 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> * 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