Problem with error_start

Christopher Faylor cgf@redhat.com
Mon Dec 4 18:30:00 GMT 2000


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


More information about the Cygwin-developers mailing list