delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/19/10:26:37

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
Date: Thu, 19 Apr 2001 16:26:01 +0200
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: Re: environment question: gdb and PWD
Message-ID: <20010419162601.G12557@cygbert.vinschen.de>
Mail-Followup-To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
References: <229D7C0FE0BED311A0E800805F0DD47176CB58 AT wn01ex DOT wn DOT gb DOT solvay DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <229D7C0FE0BED311A0E800805F0DD47176CB58@wn01ex.wn.gb.solvay.com>; from Marco.Craveiro@solvay.com on Thu, Apr 19, 2001 at 02:46:18PM +0200

On Thu, Apr 19, 2001 at 02:46:18PM +0200, Craveiro, Marco wrote:
> Hello,
> 
> forgive me if the question is dumb, but I could not find any info in the
> info pages for gdb and I am not sure
> if this is a cygwin behaviour or a gdb thing. Question is, when I do a "show
> env" in gdb I do not get the
> PWD variable. Since my program uses getenv it crashes when I debug it
> (unless I set PWD manually). 
> Is there a way of starting gdb so that it inherits PWD? 

I can't reproduce your problem. Regardless of starting gdb w/ or
w/o GUI, it always has PWD in it's environment. Are you using the
latest gdb for Cygwin?

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
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