delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/20/08:09:54

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

"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

- Raw text -


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