delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/10/29/11:46:28

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Fri, 29 Oct 2004 11:46:23 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Problem with pthead.h - child's thread ending, causes main program to exit
Message-ID: <20041029154623.GI29869@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <Pine DOT GSO DOT 4 DOT 61 DOT 0410281221200 DOT 11727 AT slinky DOT cs DOT nyu DOT edu> <NUTMEGbZvFqV2mEIkLe00000338 AT NUTMEG DOT CAM DOT ARTIMI DOT COM>
Mime-Version: 1.0
In-Reply-To: <NUTMEGbZvFqV2mEIkLe00000338@NUTMEG.CAM.ARTIMI.COM>
User-Agent: Mutt/1.4.1i

On Fri, Oct 29, 2004 at 01:28:58PM +0100, Dave Korn wrote:
>> -----Original Message-----
>> From: cygwin-owner On Behalf Of Igor Pechtchanski
>> Sent: 28 October 2004 17:24
>
>> On Thu, 28 Oct 2004, jdeifik wrote:
>> 
>> > > On Wed, 27 Oct 2004, jdeifik wrote:
>> > >
>> > > > When I run the program with gdb, I get really weird segmentation
>> > > > faults, for example:
>> > >
>> > > http://www.cygwin.com/ml/cygwin/2004-10/msg01033.html
>> 
>> Does anyone know gdb macros well enough to say off-hand whether it's
>> possible to write a function to ignore those particular SEGVs?
>
>  I dunno the language syntax, but I can see the design: set a breakpoint on
>IsBadWritePtr, and have a macro routine that is called by that breakpoint,
>that 1) issues the 'handle' instruction 2) issues a 'finish' to step until
>out of IsBadWritePtr 3) cancels the 'handle' instruction 4) issues a 'cont'
>to let the app continue running.

You're both thinking outside of the box here.  Please stop that.

The correct way to look at this is "Why doesn't someone FIX gdb????"

Please get with the program and close the box cover.  You're just
frightening people by peering outside of that "they should fix it for
me" box.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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