From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16392 invoked by alias); 17 Sep 2007 12:30:59 -0000 Received: (qmail 16377 invoked by uid 22791); 17 Sep 2007 12:30:57 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 17 Sep 2007 12:30:51 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id BE63A9810B for ; Mon, 17 Sep 2007 12:30:49 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 9EDBD9810A for ; Mon, 17 Sep 2007 12:30:49 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1IXFkW-0002FY-Q7 for gdb-patches@sourceware.org; Mon, 17 Sep 2007 08:30:48 -0400 Date: Mon, 17 Sep 2007 12:30:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sourceware.org Subject: Re: [RFA] dwarf2loc, guard against null Message-ID: <20070917123048.GA8537@caradoc.them.org> Mail-Followup-To: gdb-patches@sourceware.org References: <20070917120443.GA21276@adacore.com> <20070917121503.GA7606@caradoc.them.org> <20070917122654.GY93930@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070917122654.GY93930@adacore.com> User-Agent: Mutt/1.5.15 (2007-04-09) 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: 2007-09/txt/msg00213.txt.bz2 On Mon, Sep 17, 2007 at 02:26:54PM +0200, Jerome Guitton wrote: > * retry to print the variable => end up in dwarf_expr_frame_base, > no frame, crash. > > We are (probably) still using a wrong .debug_info at this point. Yeah. Shouldn't you have gotten a "no such variable in this scope" error? I'm not sure how symbol lookup found a local variable without any frame. -- Daniel Jacobowitz CodeSourcery