delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/19/08:57:58

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
Message-ID: <229D7C0FE0BED311A0E800805F0DD47176CB58@wn01ex.wn.gb.solvay.com>
From: "Craveiro, Marco" <Marco DOT Craveiro AT solvay DOT com>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: environment question: gdb and PWD
Date: Thu, 19 Apr 2001 14:46:18 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)

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? 

Thanks for your time,

Marco

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