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: Thu, 15 Sep 2005 13:02:30 -0400 From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com> To: cygwin AT cygwin DOT com Subject: Re: problem with getppid() Message-ID: <20050915170229.GE26386@trixie.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com References: <Pine DOT LNX DOT 4 DOT 63 DOT 0509150809440 DOT 23407 AT zeno1 DOT math DOT washington DOT edu> <20050915153358 DOT GW5555 AT calimero DOT vinschen DOT de> <Pine DOT LNX DOT 4 DOT 63 DOT 0509150838370 DOT 24252 AT zeno1 DOT math DOT washington DOT edu> <20050915162909 DOT GA26386 AT trixie DOT casa DOT cgf DOT cx> <Pine DOT LNX DOT 4 DOT 63 DOT 0509150950170 DOT 24356 AT zeno1 DOT math DOT washington DOT edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <Pine.LNX.4.63.0509150950170.24356@zeno1.math.washington.edu> User-Agent: Mutt/1.5.8i On Thu, Sep 15, 2005 at 09:54:01AM -0700, Eduardo Chappa wrote: >*** Christopher Faylor (pcgf-no-personal-reply-please AT cygwin DOT cometh) wrote...: > >:) If your program looked like this: >:) [removed some sample code, etc] >:) >:) The above is just a suggestion and is not a 100% accurate >:) representation of what needs to be done, of course. > >Right, if this was just my case I could do this (not nice, but could do >it). In my case I need to modify the source code every time I build it, >and since it is a modification to work around a problem in cygwin, I was >hoping that cygwin could be modified so that it would do the right thing, >as it normally does. Btw, if you don't actually care about the ppid value being a real pid, you could add something like this to the list of gdb commands: (gdb) command 1 End with a line saying just "end" set var ppid = 1234 continue end so that ppid would be set automatically. 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/