X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 q=dns; s=default; b=CUr1CGGtEBkUaqBvZ0WIx0quK5I/VSTBlkfgX9udNyF
	2ssWpeulzChh7PeSoS8s77wW7b+WMbtrBNdasxpL6s14W2tlC63X9MoZwP21MJ5G
	BUroiQdPRIpvTfAL74npmiuei79mSa0zbSxjx7Pd17Qtr6hSrYAtwl6RiEOzS/iU
	=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 s=default; bh=/D7fi5xdy04kFf1JjsIk9dvIKVA=; b=QssmTHm2HOuWnYJ7X
	9i1Sx4Dm4oiDAKleHvntj+OGJApIa1LPVC2zJPk6RQAd0Wtk7zHm9hk8oKSFRCjZ
	1CqNOyxMN93IgiDpInfDt015ioRCCrEYO6dbVBte9/asdZ/ZJ+TDi043gu+f4Zmz
	KfZFZI984BfT/EyukfwW1HSZqo=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Spam-SWARE-Status: No, score=-3.3 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_HOSTKARMA_NO,RP_MATCHES_RCVD,SPF_NEUTRAL autolearn=ham version=3.3.1
Message-ID: <51A744EE.3020204@cs.utoronto.ca>
Date: Thu, 30 May 2013 08:24:14 -0400
From: Ryan Johnson <ryan.johnson@cs.utoronto.ca>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: gdb aborts after setting "throw" catchpoint
References: <51A671E4.8010306@cs.utoronto.ca> <51A6F3A8.2010007@gmail.com>
In-Reply-To: <51A6F3A8.2010007@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

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

