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 X-Apparently-From: Message-ID: <3AE025AD.EE24C71@yahoo.com> Date: Fri, 20 Apr 2001 08:03:57 -0400 From: Earnie Boyd Reply-To: Cygwin Users X-Mailer: Mozilla 4.76 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: "Craveiro, Marco" CC: "'Corinna Vinschen'" Subject: Re: environment question: gdb and PWD References: <229D7C0FE0BED311A0E800805F0DD47176CB5B AT wn01ex DOT wn DOT gb DOT solvay DOT 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