X-Spam-Check-By: sourceware.org
Message-ID: <461C3D33.1090905@web.de>
Date: Wed, 11 Apr 2007 03:43:15 +0200
From: Luca Masini <lmasini@web.de>
Reply-To: Luca Masini <luca.masini@ieee.org>
User-Agent: Thunderbird 1.5.0.10 (X11/20070221)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: gdb not working with $?=123
References: <461C1F09.3010009@web.de> <461C2BFC.9B325A1D@dessent.net> <461C3312.9030601@web.de> <461C3ADF.6A278128@dessent.net>
In-Reply-To: <461C3ADF.6A278128@dessent.net>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Sender: lmasini@web.de
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Brian Dessent wrote:
> Try this:
>
> PATH="/usr/bin:$(cygpath -S)" gdb --help
>
> If gdb works with this minimal PATH then try selectively adding the
> other components back in and see when it fails.  If the above still
> doesn't work then you may have to resort to strace to see why gdb can't
> initialize.
>   
Also with the minimal PATH did not worked.
With
strace gdb
I got a message saying that tk84.dll was not a valid windows image.
I reinstalled the tcltk package and now gdb is working.

Thank you very much for your help.

Luca.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

