Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Fri, 3 Aug 2001 19:13:59 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Win32 GDB specific problem Message-ID: <20010803191359.A23782@cygbert.vinschen.de> Mail-Followup-To: cygwin AT cygwin DOT com References: <4 DOT 2 DOT 0 DOT 58 DOT 20010803141303 DOT 01d72780 AT ics DOT u-strasbg DOT fr> <996843824 DOT 24208 DOT 5 DOT camel AT lifelesswks> <20010803114945 DOT F26623 AT redhat DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010803114945.F26623@redhat.com>; from cgf@redhat.com on Fri, Aug 03, 2001 at 11:49:45AM -0400 On Fri, Aug 03, 2001 at 11:49:45AM -0400, Christopher Faylor wrote: > On Fri, Aug 03, 2001 at 11:04:43PM +1000, Robert Collins wrote: > >On 03 Aug 2001 14:15:14 +0200, Pierre Muller wrote: > >> I am one of the persons that wrote the > >> Text Mode IDE for Free Pascal Compiler. > >> > >> This Text Mode IDE includes GDB inside the executable > >> and it can both compile, run noramlly and debug a > >> given pascal source. > >> > >> For go32v2 (based on DJGPP) and Linux > >> the repetition of compilation, debugging, editing, recompilation > >> works without problems, but this fails for Win32 version. > >> Once a file as been run under the internal debugger, > >> there is no way to recompile it ! > >> Cygwin GDB does have the same problem. > >Have you tried detaching from the process? once the debugger detach's > >the file handle should be rreleased. > > There is no such thing as a detach command in the Win32 API, so... Oh, just FYI, I think this is interesting for GDB in future: Under Whistler a debugger _can_ detach from a process now. It has two new functions in the Debugger API: DebugSetProcessKillOnExit() DebugActiveProcessStop() Sigh, why did it take so long to develop that feature?!? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/