This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: environment question: gdb and PWD


"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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]