delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2000/12/05/02:40:02

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com
Date: Tue, 5 Dec 2000 10:37:39 +0300
From: Egor Duda <deo AT logos-m DOT ru>
X-Mailer: The Bat! (v1.45) Personal
Reply-To: Egor Duda <cygwin-developers AT cygwin DOT com>
Organization: DEO
X-Priority: 3 (Normal)
Message-ID: <145887956.20001205103739@logos-m.ru>
To: "Trevor Forbes" <trevorforbes AT ozemail DOT com DOT au>
CC: Cygwin-developers <cygwin-developers AT cygwin DOT com>
Subject: Re: Problem with error_start
In-reply-To: <10c301c05e62$2c02c980$0200a8c0@voyager>
References: <20001019121952 DOT A32628 AT cygnus DOT com>
<10c301c05e62$2c02c980$0200a8c0 AT voyager>
Mime-Version: 1.0

Hi!

Tuesday, 05 December, 2000 Trevor Forbes trevorforbes AT ozemail DOT com DOT au wrote:

TF> I am having problem getting error_start=f:\home\bin\gdb.exe to work
TF> correctly.

TF> It seems that gdb will not start unless it is in the /bin directory. Ok, DJ
TF> has answered this before, in that, it is looking for  /share/gdbtcl based on
TF> where GDB is located.

TF> Well, how do I get GDB to work outside the /bin directory which, from what I
TF> understand, is the way to use error_start to debug Cygwin using a debug
TF> cygwin1.dll??

TF> I have tried setting TCL_LIBRARY=f:/Cygwin/usr/share/gdbtcl and
TF> GDBTK_LIBRARY=f:/Cygwin/usr/share/gdbtcl in the windows env but nothing
TF> seems to work? I seem to be missing something obvious?

TF> I am using  gdb-20001125-1 on win2000 and have CYGWIN=binmode ntsec tty
TF> error_start=f:\home\bin\gdb.exe

have  you  tried  starting  f:\home\bin\gdb.exe  from "windows command
prompt   (from  cmd.exe)?  This  should  be (almost) equivalent to the 
way  cygwin1.dll starts program specified in error_start. You can also
try  running text-mode version of  gdb:  'f:\home\bin\gdb.exe -nw'. if
this  works  from  command  prompt,  then  you  can  create batch file
f:\home\bin\error_start.cmd with a single line in it:

f:\home\bin\gdb.exe -nw %1 %2

and set CYGWIN=binmode ntsec tty error_start=f:\home\bin\error_start.cmd

Egor.            mailto:deo AT logos-m DOT ru ICQ 5165414 FidoNet 2:5020/496.19


- Raw text -


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