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: Tue, 5 Dec 2000 10:37:39 +0300 From: Egor Duda X-Mailer: The Bat! (v1.45) Personal Reply-To: Egor Duda Organization: DEO X-Priority: 3 (Normal) Message-ID: <145887956.20001205103739@logos-m.ru> To: "Trevor Forbes" CC: Cygwin-developers 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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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