From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13039 invoked by alias); 28 May 2003 16:50:22 -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 12983 invoked from network); 28 May 2003 16:50:22 -0000 Received: from unknown (HELO crack.them.org) (146.82.138.56) by sources.redhat.com with SMTP; 28 May 2003 16:50:22 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 19L48a-0001fq-00; Wed, 28 May 2003 11:50:52 -0500 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 19L47w-0000x6-00; Wed, 28 May 2003 12:50:12 -0400 Date: Wed, 28 May 2003 16:50:00 -0000 From: Daniel Jacobowitz To: David Carlton Cc: "H. J. Lu" , Elena Zannoni , GDB Subject: Re: RFC: DW_TAG_try_block Message-ID: <20030528165012.GA3644@nevyn.them.org> Mail-Followup-To: David Carlton , "H. J. Lu" , Elena Zannoni , GDB References: <20030526124443.A7502@lucon.org> <16083.31335.661805.9131@localhost.redhat.com> <20030527075736.A22991@lucon.org> <16083.32844.434477.515378@localhost.redhat.com> <20030527081334.A23209@lucon.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i X-SW-Source: 2003-05/txt/msg00368.txt.bz2 On Wed, May 28, 2003 at 09:46:48AM -0700, David Carlton wrote: > On Tue, 27 May 2003 08:13:34 -0700, "H. J. Lu" said: > > > When it is compiled by ecc 7.1, > > > # ecc -g main.cc -o main > > > The current gdb won't see ni nor n when break points are set in try > > and catch blocks. > > [ Source code deleted, but thanks. ] > > I was going to volunteer to add this to the test suite, but it looks > like something like that is already there: am I correct in thinking > that gdb.c++/try-catch.exp fails if you're using ecc as your compiler? > (How do you tell runtest to use a different C compiler, anyways? Does > "CC=ecc runtest gdb.c++/try-catch.exp" work?) No; I have to create a custom board file and use "set board_info c++compiler ecc" or the equivalent. Fixing it to recognize CC_FOR_TARGET is on my list somewhere. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer