X-Spam-Check-By: sourceware.org Message-ID: <461C3ADF.6A278128@dessent.net> Date: Tue, 10 Apr 2007 18:33:19 -0700 From: Brian Dessent X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: gdb not working with $?=123 References: <461C1F09 DOT 3010009 AT web DOT de> <461C2BFC DOT 9B325A1D AT dessent DOT net> <461C3312 DOT 9030601 AT web DOT de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Luca Masini wrote: > > Brian Dessent wrote: > > > Please read the problem reporting guidelines at > > , specifically the part about cygcheck > > output. > > attached the output of "cygcheck -s -v -r > cygcheck.out" Thanks for the extra info. I can't find anything that is overtly wrong with your setup, but you do have some other toolchains in your PATH which still might have some overlap. 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. Brian -- 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/