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: Failures in build Emacs-CVS on Cygwin Date: Fri, 24 Nov 2006 23:17:51 +0200 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1164403848 2062 80.91.229.2 (24 Nov 2006 21:30:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 24 Nov 2006 21:30:48 +0000 (UTC) Cc: jbuehler@spirentcom.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 24 22:30:44 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 1Gnicz-0008Hn-0Q for ged-emacs-devel@m.gmane.org; Fri, 24 Nov 2006 22:30:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gnicy-0002eG-5W for ged-emacs-devel@m.gmane.org; Fri, 24 Nov 2006 16:30:32 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gnicl-0002c3-Iw for emacs-devel@gnu.org; Fri, 24 Nov 2006 16:30:19 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gnicj-0002Xu-2R for emacs-devel@gnu.org; Fri, 24 Nov 2006 16:30:19 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gnici-0002Xb-MX for emacs-devel@gnu.org; Fri, 24 Nov 2006 16:30:16 -0500 Original-Received: from [192.114.186.73] (helo=heller.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GniQn-0002rd-FB for emacs-devel@gnu.org; Fri, 24 Nov 2006 16:17:57 -0500 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-199-27.inter.net.il [80.230.199.27]) by heller.inter.net.il (MOS 3.7.3a-GA) with ESMTP id BBX87969 (AUTH halo1); Fri, 24 Nov 2006 23:17:51 +0200 (IST) Original-To: Angelo Graziosi In-reply-to: (message from Angelo Graziosi on Fri, 24 Nov 2006 00:55:10 +0100 (MET)) 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:62740 Archived-At: > Date: Fri, 24 Nov 2006 00:55:10 +0100 (MET) > From: Angelo Graziosi > cc: emacs-devel@gnu.org, jbuehler@spirentcom.com > > Configuring the CYGWIN env. variable, when bootstrapping, it creates > lisp/bootstrap-emacs.exe.core, so I have tried the following (I am not a > very expert of GDB) > > Using 'run' under GDB, it hangs and I must kill it: > --------------------------------------------------------------- > $ gdb ./bootstrap-emacs.exe ../lisp/bootstrap-emacs.exe.core > GNU gdb 6.5.50.20060706-cvs (cygwin-special) > Copyright (C) 2006 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you > are > welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for > details. > This GDB was configured as "i686-pc-cygwin"... > > warning: core file may not match specified executable file. > > warning: Couldn't find general-purpose registers in core file. > > warning: Couldn't find general-purpose registers in core file. These 3 messages aren't a good sign. > #0 0x00000000 in ?? () > DISPLAY = :0.0 > TERM = xterm > Breakpoint 1 at 0x200a0b66: file > /home/Angelo/Downloads/cygwin_varie/emacs-cvs/emacs/src/emacs.c, line 464. > Breakpoint 2 at 0x200ba689: file > /home/Angelo/Downloads/cygwin_varie/emacs-cvs/emacs/src/sysdep.c, line > 1385. > (gdb) run No, you shouldn't run the program. You are debugging a core file, which is an image of a dead program. Such a program cannot be run. You can only examine the variables and memory. So the right command is "bt".