From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17057 invoked by alias); 18 Jul 2002 20:43:11 -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 17047 invoked from network); 18 Jul 2002 20:43:10 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 18 Jul 2002 20:43:10 -0000 Received: from dsl254-114-118.nyc1.dsl.speakeasy.net ([216.254.114.118] helo=nevyn.them.org ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 17VI7B-0001UB-00; Thu, 18 Jul 2002 15:43:10 -0500 Received: from drow by nevyn.them.org with local (Exim 3.35 #1 (Debian)) id 17VI7F-0006i1-00; Thu, 18 Jul 2002 16:43:13 -0400 Date: Thu, 18 Jul 2002 13:43:00 -0000 From: Daniel Jacobowitz To: Paul Dubuc Cc: Daniel Berlin , gdb@sources.redhat.com Subject: Re: catchpoints Message-ID: <20020718204313.GA25773@nevyn.them.org> Mail-Followup-To: Paul Dubuc , Daniel Berlin , gdb@sources.redhat.com References: <3D372257.DE45D63C@cas.org> <20020718202123.GA24217@nevyn.them.org> <3D3727CD.71865617@cas.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D3727CD.71865617@cas.org> User-Agent: Mutt/1.5.1i X-SW-Source: 2002-07/txt/msg00190.txt.bz2 On Thu, Jul 18, 2002 at 04:40:45PM -0400, Paul Dubuc wrote: > Daniel Jacobowitz wrote: > > > > On Thu, Jul 18, 2002 at 04:17:27PM -0400, Paul Dubuc wrote: > > > Daniel Berlin wrote: > > > > > > > > On Thu, 18 Jul 2002, Daniel Jacobowitz wrote: > > > > > > > > > On Thu, Jul 18, 2002 at 04:00:43PM -0400, Paul Dubuc wrote: > > > > > > I'm using gdb 5.2 on Solaris 8 to debug code compiled with g++ 2.95.3. > > > > > > When I try to enter 'catch throw' or 'catch catch' commands I get a > > > > > > message that says > > > > > > > > > > > > no runtime support for this > > > > > > > > > > > > Does this mean I need to rebuild gdb to support these commands or is it > > > > > > just that they aren't supported for this OS or compiler? > > > > > > > > > > > > I can't find any info in the manual about this. > > > > > > > > > > I believe they're only supported on HP/UX (and none of the HP/UX > > > > > support works quite right any more...). I don't think anyone has tried > > > > > to implement them on GCC code yet. > > > > > > > > Actually, I did, and had it working just fine. > > > > It's actually not that difficult, but it is ABI specific. > > > > > > Which version of GCC does it work for? If it doesn't work for 2.95.3, > > > does it work for 3.1? > > > > I'm pretty sure that the code Daniel B. is talking about is not in the > > current GDB tree. Perhaps next release... > > If it's ABI specific then it's not going to work for both these versions > of GCC unless it was implemented for both. Right? Sure, but implementing it for the other is most likely very simple. It looks that way at least. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer