Re: Unbreaking gdb's catch throw
--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--
討論串 (同標題文章)
完整討論串 (本文為第 4 之 7 篇):