X-Spam-Check-By: sourceware.org Date: Tue, 6 Mar 2007 14:52:12 -0500 (EST) From: Igor Peshansky Reply-To: cygwin AT cygwin DOT com To: Kabal cc: cygwin AT cygwin DOT com Subject: Re: GDB problem (under cygwin) In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 . Redirecting to the list. On Tue, 6 Mar 2007, Kabal wrote: > Hi, I saw some messages written by you and I would want know if you could > help me with a problem. > I have installed cygwin (devel package) and I have added the Environment > variable in the path. I have configured the gdb in Eclipse, then I create a > C managed project (a hello world for example) and I compile it. I get no > errors but I cannot debug it. I get something like: > > gdb Debugger (6/03/07 20:06) (Suspended) > Thread [1] (Suspended) > 5 ntdll!LdrAccessResource() 0x7c90eb94 > 4 ntdll!ZwWaitForSingleObject() 0x7c90e9c0 > 3 ntdll!RtlpWaitForCriticalSection() 0x7c91901b > 2 0x000007e8 > 1 0x00000000 > Thread [2] (Suspended: Signal 'SIGSEGV' received. Description: > Segmentation fault.) > Thread [3] (Suspended) > > The error is the Segmentation fault, but I don't know how to fix it. > > I give you additional info: > > gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125) > GNU ld version 2.17.50 20060817 > GNU gdb 6.5.50.20060706-cvs (cygwin-special) . This GDB was configured as > "i686-pc-cygwin". > > Please, if you tell me what's the problem with the gdb, I would thank you > very much. > I have spent more than a week searching (because this is not the only > problem I got, I had a problem with "Clock skew detected" and then I saw a > message written by you saying how to fix it -Converting FAT to NTFS-) > But I cannot get the answer for this gdb-problem, thanks. -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for "nothing left to lose"... -- Janis Joplin -- 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/