Re: Unbreaking gdb's catch throw

看板FB_current作者時間12年前 (2013/04/27 13:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串4/7 (看更多)
--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--
文章代碼(AID): #1HUrko-c (FB_current)
文章代碼(AID): #1HUrko-c (FB_current)