From owner-freebsd-current@FreeBSD.ORG Fri Jan 4 12:38:58 2013 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8D36586B; Fri, 4 Jan 2013 12:38:58 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from theravensnest.org (theraven.freebsd.your.org [216.14.102.27]) by mx1.freebsd.org (Postfix) with ESMTP id 6232CFCB; Fri, 4 Jan 2013 12:38:57 +0000 (UTC) Received: from [192.168.0.2] (cpc10-cmbg15-2-0-cust123.5-4.cable.virginmedia.com [86.30.246.124]) (authenticated bits=0) by theravensnest.org (8.14.5/8.14.5) with ESMTP id r04CcnYv021380 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO); Fri, 4 Jan 2013 12:38:50 GMT (envelope-from theraven@FreeBSD.org) Subject: Re: Unbreaking gdb's catch throw Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=us-ascii From: David Chisnall In-Reply-To: <20130104123424.GA1430@mole.fafoe.narf.at> Date: Fri, 4 Jan 2013 12:38:44 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20130104123424.GA1430@mole.fafoe.narf.at> To: Stefan Farfeleder X-Mailer: Apple Mail (2.1278) Cc: freebsd-current@FreeBSD.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jan 2013 12:38:58 -0000 Is this on 9.1? In -CURRENT and 9.1, libstdc++ is a filter library, and = libsupc++ or or libcxxrt are the filtee. This means that the = __cxa_throw symbol appears to be in libstdc++ (for symbol versioning = purposes), but is actually in the ABI library. If you tell gdb to put = the breakpoint on __cxa_throw itself, then it should tell you that there = are multiple definitions and ask which one you want (if it doesn't, it's = a gdb bug). =20 David On 4 Jan 2013, at 12:34, Stefan Farfeleder wrote: > Hi, >=20 > gdb's command 'catch throw' is broken on FreeBSD head. While it does = set > a breakpoint on __cxa_throw, the function seems to be never entered = when > an exception is thrown. Does someone know how to fix this? It used to > work a couple of months ago. >=20 > Stefan > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to = "freebsd-current-unsubscribe@freebsd.org"