From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Building Emacs-cvs on Cygwin (Mystery!) Date: Fri, 22 Sep 2006 16:19:49 +0300 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1158931269 12056 80.91.229.2 (22 Sep 2006 13:21:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 22 Sep 2006 13:21:09 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 22 15:21:06 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GQkwu-0007Yu-Cl for ged-emacs-devel@m.gmane.org; Fri, 22 Sep 2006 15:20:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GQkwt-0001q9-On for ged-emacs-devel@m.gmane.org; Fri, 22 Sep 2006 09:20:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GQkwg-0001nq-Md for emacs-devel@gnu.org; Fri, 22 Sep 2006 09:19:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GQkwf-0001kQ-Jw for emacs-devel@gnu.org; Fri, 22 Sep 2006 09:19:58 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GQkwf-0001k2-Bv for emacs-devel@gnu.org; Fri, 22 Sep 2006 09:19:57 -0400 Original-Received: from [192.114.186.20] (helo=nitzan.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GQl0P-0001I7-Av for emacs-devel@gnu.org; Fri, 22 Sep 2006 09:23:49 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-84-228-163-171.inter.net.il [84.228.163.171]) by nitzan.inter.net.il (MOS 3.7.3-GA) with ESMTP id ESJ99450 (AUTH halo1); Fri, 22 Sep 2006 16:19:49 +0300 (IDT) Original-To: Angelo Graziosi In-reply-to: (message from Angelo Graziosi on Fri, 22 Sep 2006 00:20:43 +0200 (MET DST)) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:60107 Archived-At: > Date: Fri, 22 Sep 2006 00:20:43 +0200 (MET DST) > From: Angelo Graziosi > > This GDB was configured as "i686-pc-cygwin"...(no debugging symbols found) We need to solve this ``no debugging symbols found'' problem. Can you please post the transcript of the entire configure+build procedure, or (better) look there for the command that stripped the symbols from the binary? The ``normal'' build should invoke GCC with the -g option, and should NOT use the -s option to GCC or the linker in the command that links temacs.exe. This should produce temacs.exe with debugging symbols, and then dumping emacs.exe should produce emacs.exe with debugging symbols. What happens if you type "gdb ./temacs.exe", does it also say ``no debugging symbols found''? > (gdb) r "r -Q" is better, as it doesn't load any init files. > Starting program: /usr/local/emacs-22.0.50/bin/emacs.exe > Loaded symbols for /c/WINDOWS/system32/ntdll.dll > Loaded symbols for /c/WINDOWS/system32/kernel32.dll > Loaded symbols for /usr/X11R6/bin/cygICE-6.dll > Loaded symbols for /usr/bin/cygwin1.dll > Loaded symbols for /c/WINDOWS/system32/advapi32.dll > Loaded symbols for /c/WINDOWS/system32/rpcrt4.dll > Loaded symbols for /usr/X11R6/bin/cygSM-6.dll > Loaded symbols for /usr/X11R6/bin/cygX11-6.dll > Loaded symbols for /usr/X11R6/bin/cygXaw3d-7.dll > Loaded symbols for /usr/X11R6/bin/cygXext-6.dll > Loaded symbols for /usr/X11R6/bin/cygXmu-6.dll > Loaded symbols for /usr/X11R6/bin/cygXt-6.dll > Loaded symbols for /usr/X11R6/bin/cygXpm-4.dll > Loaded symbols for /usr/bin/cygncurses-8.dll > Loaded symbols for /usr/bin/cygjpeg-62.dll > Loaded symbols for /usr/bin/cygpng12.dll > Loaded symbols for /usr/bin/cygz.dll > Loaded symbols for /usr/bin/cygtiff-5.dll > Loaded symbols for /usr/bin/cygungif-4.dll > > [1]+ Stopped gdb ./emacs Can you type "fg" at this point, to get back into GDB? If that works, can you type "bt" inside GDB and get a meaningful traceback?