From owner-freebsd-current@FreeBSD.ORG Fri Jan 4 12:47:59 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 B923E9F8 for ; Fri, 4 Jan 2013 12:47:59 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay05.ispgateway.de (smtprelay05.ispgateway.de [80.67.31.98]) by mx1.freebsd.org (Postfix) with ESMTP id 6409FAC for ; Fri, 4 Jan 2013 12:47:59 +0000 (UTC) Received: from [78.35.174.75] (helo=fabiankeil.de) by smtprelay05.ispgateway.de with esmtpsa (SSLv3:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1Tr6fm-0006V9-G8 for freebsd-current@freebsd.org; Fri, 04 Jan 2013 13:46:54 +0100 Date: Fri, 4 Jan 2013 13:46:34 +0100 From: Fabian Keil To: freebsd-current@freebsd.org Subject: Re: Unbreaking gdb's catch throw Message-ID: <20130104134634.045f9ea6@fabiankeil.de> In-Reply-To: <20130104123424.GA1430@mole.fafoe.narf.at> References: <20130104123424.GA1430@mole.fafoe.narf.at> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/oGXe72jgDY3XG8GiS3U73Cw"; protocol="application/pgp-signature" X-Df-Sender: Nzc1MDY3 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:47:59 -0000 --Sig_/oGXe72jgDY3XG8GiS3U73Cw Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Stefan Farfeleder wrote: > 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. My impression is that gdb from base is pretty useless in general when compiling with a modern compiler like clang or a more recent version of gcc. gdb751 from the ports seems to suck a lot less. Obviously I'm not saying that it wouldn't be nice if gdb from base worked better, though. Fabian --Sig_/oGXe72jgDY3XG8GiS3U73Cw Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlDmzzoACgkQBYqIVf93VJ0yigCghNnfXoevhpKLyG7fDgRZ8Cpd oxYAoLZ/rYZdC7yVx08zFBv3lnMsugCP =5M/c -----END PGP SIGNATURE----- --Sig_/oGXe72jgDY3XG8GiS3U73Cw--