Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com Date: Mon, 4 Dec 2000 21:29:50 -0500 From: Christopher Faylor To: Cygwin-developers Subject: Re: Problem with error_start Message-ID: <20001204212950.A30532@redhat.com> Reply-To: cygwin-developers AT cygwin DOT com Mail-Followup-To: Cygwin-developers References: <20001019121952 DOT A32628 AT cygnus DOT com> <10c301c05e62$2c02c980$0200a8c0 AT voyager> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.11i In-Reply-To: <10c301c05e62$2c02c980$0200a8c0@voyager>; from trevorforbes@ozemail.com.au on Tue, Dec 05, 2000 at 11:51:06AM +0930 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