From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6021 invoked by alias); 26 May 2003 19:59:36 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 32128 invoked from network); 26 May 2003 19:56:57 -0000 Received: from unknown (HELO crack.them.org) (146.82.138.56) by sources.redhat.com with SMTP; 26 May 2003 19:56:57 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 19KO60-0005iJ-00; Mon, 26 May 2003 14:57:24 -0500 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 19KO5O-0007i7-00; Mon, 26 May 2003 15:56:46 -0400 Date: Mon, 26 May 2003 19:59:00 -0000 From: Daniel Jacobowitz To: "H. J. Lu" Cc: GDB Subject: Re: RFC: DW_TAG_try_block Message-ID: <20030526195646.GA26902@nevyn.them.org> Mail-Followup-To: "H. J. Lu" , GDB References: <20030526124443.A7502@lucon.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030526124443.A7502@lucon.org> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-05/txt/msg00347.txt.bz2 On Mon, May 26, 2003 at 12:44:43PM -0700, H. J. Lu wrote: > Intel C++ compiler generates DW_TAG_try_block for > > try > { > ... > } > > Gdb can't print any local variables declared inside the try block. This > patch seems to work for us. Is that correct? I believe that this is correct, and that (at least for now) the same thing should be done for DW_TAG_catch_block. There's a PR for this issue. [But wait for a DWARF maintainer to comment, please.] -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer