This is the mail archive of the
cygwin-developers@sources.redhat.com
mailing list for the Cygwin project.
Re: Problem with error_start
- To: Cygwin-developers <cygwin-developers at cygwin dot com>
- Subject: Re: Problem with error_start
- From: Christopher Faylor <cgf at redhat dot com>
- Date: Mon, 4 Dec 2000 21:29:50 -0500
- References: <20001019121952.A32628@cygnus.com> <10c301c05e62$2c02c980$0200a8c0@voyager>
- Reply-To: cygwin-developers at cygwin dot com
On Tue, Dec 05, 2000 at 11:51:06AM +0930, Trevor Forbes wrote:
>I am having problem getting error_start=f:\home\bin\gdb.exe to work
>correctly.
>
>It seems that gdb will not start unless it is in the /bin directory. Ok, DJ
>has answered this before, in that, it is looking for /share/gdbtcl based on
>where GDB is located.
>
>Well, how do I get GDB to work outside the /bin directory which, from what I
>understand, is the way to use error_start to debug Cygwin using a debug
>cygwin1.dll??
>
>I have tried setting TCL_LIBRARY=f:/Cygwin/usr/share/gdbtcl and
>GDBTK_LIBRARY=f:/Cygwin/usr/share/gdbtcl in the windows env but nothing
>seems to work? I seem to be missing something obvious?
>
>I am using gdb-20001125-1 on win2000 and have CYGWIN=binmode ntsec tty
>error_start=f:\home\bin\gdb.exe
Personally, I use a non-windows version of gdb. Otherwise, there are a
number of environment variables that you'll need to set to get gdb to
search for the tcl/tk stuff in the right location. I don't know what
those are but there should be some obvious references in the appropriate
source directories or a query to the insight mailing list may be in order.
cgf