From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Eli Zaretskii" Newsgroups: gmane.emacs.devel Subject: Re: Question on debugging emacs with gdb Date: Mon, 28 Feb 2005 00:29:34 +0200 Message-ID: <01c51d1b$Blat.v2.4$f56b4e60@zahav.net.il> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7BIT X-Trace: sea.gmane.org 1109543654 8746 80.91.229.2 (27 Feb 2005 22:34:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 27 Feb 2005 22:34:14 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 27 23:34:14 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D5WyF-0000YC-5s for ged-emacs-devel@m.gmane.org; Sun, 27 Feb 2005 23:33:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D5XGT-0007l5-Ug for ged-emacs-devel@m.gmane.org; Sun, 27 Feb 2005 17:51:53 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D5XDs-0005l1-F9 for emacs-devel@gnu.org; Sun, 27 Feb 2005 17:49:13 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D5XDn-0005j5-Q1 for emacs-devel@gnu.org; Sun, 27 Feb 2005 17:49:08 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D5XDm-0005hd-Ry for emacs-devel@gnu.org; Sun, 27 Feb 2005 17:49:06 -0500 Original-Received: from [192.114.186.66] (helo=romy.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D5WwZ-0007Py-Gv for emacs-devel@gnu.org; Sun, 27 Feb 2005 17:31:19 -0500 Original-Received: from zaretski (tony03-45-196.inter.net.il [80.230.45.196]) by romy.inter.net.il (MOS 3.5.6-GR) with ESMTP id AQC80708 (AUTH halo1); Mon, 28 Feb 2005 00:31:10 +0200 (IST) Original-To: Joakim Verona X-Mailer: emacs 22.0.50 (via feedmail 8 I) and Blat ver 2.4 In-reply-to: (message from Joakim Verona on Sun, 27 Feb 2005 21:27:15 +0100) 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 X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: main.gmane.org gmane.emacs.devel:33893 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:33893 > From: Joakim Verona > Date: Sun, 27 Feb 2005 21:27:15 +0100 > > Now I enter gdb whenever I press c-g, which is unexpected and > inconvenient. > > Is there some other way to handle this? Start GDB from the Emacs's src directory. There's a .gdbinit file there that takes care of this problem. (The etc/DEBUG file actually tells you that as its first advice.) If this somehow doesn't DTRT, please post the details (your OS, version of GDB, etc.).