From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25111 invoked by alias); 19 Nov 2004 01:05:44 -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 25071 invoked from network); 19 Nov 2004 01:05:37 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 19 Nov 2004 01:05:37 -0000 Received: from drow by nevyn.them.org with local (Exim 4.34 #1 (Debian)) id 1CUxDM-0007Bd-KA; Thu, 18 Nov 2004 20:05:28 -0500 Date: Fri, 19 Nov 2004 03:13:00 -0000 From: Daniel Jacobowitz To: Chris Stankevitz Cc: gdb@sources.redhat.com Subject: Re: Breaking exceptions before stack unwind Message-ID: <20041119010528.GA27556@nevyn.them.org> Mail-Followup-To: Chris Stankevitz , gdb@sources.redhat.com References: <419A5E71.8030304@stankevitz.com> <20041117230803.GC22472@nevyn.them.org> <419BDD3E.8010000@stankevitz.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <419BDD3E.8010000@stankevitz.com> User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-11/txt/msg00193.txt.bz2 On Wed, Nov 17, 2004 at 03:22:38PM -0800, Chris Stankevitz wrote: > > Hi Daniel, thanks for your help. > > >You didn't say what your target is, or what your compiler is, or what > >your version of GDB is. > > i686 athlon > g++ (GCC) 3.3.2 20031022 (Red Hat Linux 3.3.2-1) > GNU gdb Red Hat Linux (5.3.90-0.20030710.41rh) > > >> U __cxa_begin_catch@@CXXABI_1.2 > > > >I recommend you try the GDB command "catch throw". > > Hmph... > > (gdb) catch throw > Function "__cxa_throw" not defined. It's in libstdc++; with your old version of GDB, you can't set breakpoints in shared libraries until they've been loaded. Try a newer version, or do it after "set stop-on-solib-events 1; run". -- Daniel Jacobowitz