This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: gdb aborts after setting "throw" catchpoint
- From: Ryan Johnson <ryan dot johnson at cs dot utoronto dot ca>
- To: cygwin at cygwin dot com
- Date: Thu, 30 May 2013 08:24:14 -0400
- Subject: Re: gdb aborts after setting "throw" catchpoint
- References: <51A671E4 dot 8010306 at cs dot utoronto dot ca> <51A6F3A8 dot 2010007 at gmail dot com>
On 30/05/2013 2:37 AM, Noel Grandin wrote:
On 2013-05-29 23:23, Ryan Johnson wrote:
GNU gdb (GDB) 7.6.50.20130408-cvs (cygwin-special)
... snip...
Reading symbols from /home/Ryan/experiments/a.exe...done.
(gdb) catch throw
Catchpoint 1 (throw)
That was a mistake in the documentation, they didn't actually get
around to implementing it.
They have since rectified that mistake, but it's only going to be in
version 7.7
See bug:
http://sourceware.org/bugzilla/show_bug.cgi?id=13588
That bug seems to be about adding filtering based on exception type, not
about supporting catchpoints in general; the latter have worked for
years in gdb-linux (at a minimum, my server at work can do it with
gdb-7.4).
The problem here is that gdb-cygwin crashes when running with a
catchpoint enabled. I don't see any bugs on Sourceware about that,
though I suspect the search interface is terrible so I could be missing
something obvious.
Ryan
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple