delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/10/08/10:36:19

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Mon, 8 Oct 2007 10:35:53 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [gdb] Data watchpoints in Windows weirdness. Call for testers.
Message-ID: <20071008143552.GA20746@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <4702E6B7 DOT 8020100 AT portugalmail DOT pt> <20071008124331 DOT GD19254 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
In-Reply-To: <20071008124331.GD19254@calimero.vinschen.de>
User-Agent: Mutt/1.5.16 (2007-06-09)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Mon, Oct 08, 2007 at 02:43:31PM +0200, Corinna Vinschen wrote:
>On Oct  3 01:47, Pedro Alves wrote:
>> By a long shot, Cygwin doesn't do anything funny like hooking
>> GetThreadContext, does it?
>
>cgf might be better suited to answer this, but AFAICS, Cygwin
>doesn't hook any system function.  It just uses them.

Cygwin doesn't hook GetThreadContext or any other system call.  It does play
with the threads stack frame when the thread is first created however.

>OTOH, there are two calls to SetThreadContext in Cygwin, both of them
>changing Eip.  Could that be a problem?

Those should only be triggered in circumstances where a cygwin program
is interrupted outside of the cygwin dll itself.

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