Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jan 2013 13:46:34 +0100
From:      Fabian Keil <freebsd-listen@fabiankeil.de>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/oGXe72jgDY3XG8GiS3U73Cw
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Stefan Farfeleder <stefanf@FreeBSD.org> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130104134634.045f9ea6>