From: Simon Wright <simon@pushface.org>
Subject: Re: Can't "catch exception" in gdb on OS X
Date: Sat, 05 Mar 2016 08:30:42 +0000
Date: 2016-03-05T08:30:42+00:00 [thread overview]
Message-ID: <lyk2lhjphp.fsf@pushface.org> (raw)
In-Reply-To: b7e2e028-7810-497d-b19c-9f92657e3c2b@googlegroups.com
Jerry <lanceboyle@qwest.net> writes:
> I'm on OS X 10.9.5 trying to debug a GNAT program. When I type
>
> catch exception
>
> when the program is in the debugger but paused at the automatically
> inserted breakpoint at the first line, I get this:
>
> Cannot insert Ada exception catchpoints in this configuration.
I wrote about this at [1]; there's a GDB Bugzilla entry about it[2].
The simplest solution I've found is to invoke gdb with -readnow.
[1] http://forward-in-code.blogspot.co.uk/2012/01/catching-exceptions-in-gdb.html
[2] https://sourceware.org/bugzilla/show_bug.cgi?id=11385
next prev parent reply other threads:[~2016-03-05 8:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-05 5:24 Can't "catch exception" in gdb on OS X Jerry
2016-03-05 8:30 ` Simon Wright [this message]
2016-03-08 8:50 ` Jerry
2016-03-08 11:29 ` Simon Wright
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox