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 Date: Mon, 25 Sep 2006 06:26:01 +0300 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1159154781 14961 80.91.229.2 (25 Sep 2006 03:26:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 25 Sep 2006 03:26:21 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 25 05:26:20 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 1GRh6i-0003De-ME for ged-emacs-devel@m.gmane.org; Mon, 25 Sep 2006 05:26:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GRh6i-0000gZ-61 for ged-emacs-devel@m.gmane.org; Sun, 24 Sep 2006 23:26:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GRh6Y-0000gU-LX for emacs-devel@gnu.org; Sun, 24 Sep 2006 23:26:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GRh6W-0000g9-89 for emacs-devel@gnu.org; Sun, 24 Sep 2006 23:26:01 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GRh6W-0000g6-3g for emacs-devel@gnu.org; Sun, 24 Sep 2006 23:26:00 -0400 Original-Received: from [192.114.186.73] (helo=heller.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GRhAq-0000rz-2y for emacs-devel@gnu.org; Sun, 24 Sep 2006 23:30:28 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-38-112.inter.net.il [80.230.38.112]) by heller.inter.net.il (MOS 3.7.3a-GA) with ESMTP id AOB41655 (AUTH halo1); Mon, 25 Sep 2006 06:25:57 +0300 (IDT) Original-To: Angelo Graziosi In-reply-to: (message from Angelo Graziosi on Mon, 25 Sep 2006 00:46:08 +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:60191 Archived-At: > Date: Mon, 25 Sep 2006 00:46:08 +0200 (MET DST) > From: Angelo Graziosi > > Following this thread http://cygwin.com/ml/cygwin/2006-06/msg00855.html, I > have added -ggdb with the following result: Good! Although -gdwarf-2 _should_ have produced the same effect. > $ gcc -v -ggdb -gdwarf-2 -g3 hello.c -o hello Do you get the same effect with the following command? gcc -v -ggdb -g3 hello.c -o hello In any case, please reconfigure Emacs to use the switches that produce DWARF 2 debug info, and rebuild Emacs. The file INSTALL tells how to do that (search for "CFLAGS"). Note that you will need to use these switches both in CFLAGS and in LDFLAGS.