delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/05/30/08:24:40

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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 DOT johnson AT cs DOT utoronto DOT 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 AT cygwin DOT com
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>
In-Reply-To: <51A6F3A8.2010007@gmail.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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019