Re: Unbreaking gdb's catch throw

From: Fabian Keil <freebsd-listen_at_fabiankeil.de>
Date: Fri, 4 Jan 2013 13:46:34 +0100
Stefan Farfeleder <stefanf_at_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

Received on Fri Jan 04 2013 - 11:47:59 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:33 UTC