Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
X-Apparently-From: <earnie?boyd@yahoo.com>
Message-ID: <3AE025AD.EE24C71@yahoo.com>
Date: Fri, 20 Apr 2001 08:03:57 -0400
From: Earnie Boyd <earnie_boyd@yahoo.com>
Reply-To: Cygwin Users <cygwin@cygwin.com>
X-Mailer: Mozilla 4.76 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: "Craveiro, Marco" <Marco.Craveiro@solvay.com>
CC: "'Corinna Vinschen'" <cygwin@cygwin.com>
Subject: Re: environment question: gdb and PWD
References: <229D7C0FE0BED311A0E800805F0DD47176CB5B@wn01ex.wn.gb.solvay.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

"Craveiro, Marco" wrote:
> 
> hello Corinna,
> 
> thanks for your help. this is probably a newbie related problem... It
> appears it is to do with where I start gdb from: if I do it from bash it
> gives me all the environment variables, if I do it from emacs - with emacs
> starting from bash - PWD and a few others are missing but some are there.
> I'm using NT emacs.
> 

The problem is that the NTEMACS isn't a Cygwin program and therefore
doesn't inherit the parent's environment.  Gdb on the other hand does
inherit the parent processes environment but not the grand-parent's
environment.  This isn't a bug with either gdb or Cygwin.

Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

