From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18907 invoked by alias); 2 Feb 2009 18:44:12 -0000 Received: (qmail 18899 invoked by uid 22791); 2 Feb 2009 18:44:11 -0000 X-SWARE-Spam-Status: No, hits=-1.5 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; Mon, 02 Feb 2009 18:44:05 +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 n12Ii2dD001152; Mon, 2 Feb 2009 13:44:02 -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 n12Ii2G2025176; Mon, 2 Feb 2009 13:44:02 -0500 Received: from opsy.redhat.com (vpn-12-182.rdu.redhat.com [10.11.12.182]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n12Ii158019389; Mon, 2 Feb 2009 13:44:02 -0500 Received: by opsy.redhat.com (Postfix, from userid 500) id 18DC950826F; Mon, 2 Feb 2009 11:44:00 -0700 (MST) To: Jan Kratochvil Cc: Jim Meyering , gdb-patches@sourceware.org, Corinna Vinschen Subject: Re: rawhide's gdb segfaults, w/patch References: <87abag9pi1.fsf@rho.meyering.net> <20090109214512.GA5851@host0.dyn.jankratochvil.net> From: Tom Tromey Reply-To: tromey@redhat.com Date: Mon, 02 Feb 2009 18:44:00 -0000 In-Reply-To: <20090109214512.GA5851@host0.dyn.jankratochvil.net> (Jan Kratochvil's message of "Fri\, 9 Jan 2009 22\:45\:12 +0100") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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/msg00034.txt.bz2 >>>>> "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. Jan> gdb/testsuite/ Jan> 2009-01-09 Jan Kratochvil Jan> * gdb.base/nodebug.exp (return from function with no debug info): New. I looked at this and I think it is ok. Please check it in. Thanks. Tom