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: Debugging Emacs Date: Fri, 27 Nov 2015 19:58:48 +0200 Message-ID: <83wpt3qq7b.fsf@gnu.org> References: <87r3jbicg0.fsf@russet.org.uk> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1448647190 7384 80.91.229.3 (27 Nov 2015 17:59:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Nov 2015 17:59:50 +0000 (UTC) Cc: emacs-devel@gnu.org To: phillip.lord@russet.org.uk (Phillip Lord) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 27 18:59:39 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a2NJ4-0006Ls-2T for ged-emacs-devel@m.gmane.org; Fri, 27 Nov 2015 18:59:38 +0100 Original-Received: from localhost ([::1]:57975 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2NJ6-0006uW-T2 for ged-emacs-devel@m.gmane.org; Fri, 27 Nov 2015 12:59:40 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53823) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2NIi-0006gF-O5 for emacs-devel@gnu.org; Fri, 27 Nov 2015 12:59:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a2NIf-0002RT-He for emacs-devel@gnu.org; Fri, 27 Nov 2015 12:59:16 -0500 Original-Received: from mtaout28.012.net.il ([80.179.55.184]:41109) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2NIf-0002PP-AS for emacs-devel@gnu.org; Fri, 27 Nov 2015 12:59:13 -0500 Original-Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il (HyperSendmail v2007.08) id <0NYH00G00IT79X00@mtaout28.012.net.il> for emacs-devel@gnu.org; Fri, 27 Nov 2015 19:57:58 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout28.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NYH006EWJ8MX990@mtaout28.012.net.il>; Fri, 27 Nov 2015 19:57:58 +0200 (IST) In-reply-to: <87r3jbicg0.fsf@russet.org.uk> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.184 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:195400 Archived-At: > From: phillip.lord@russet.org.uk (Phillip Lord) > Date: Fri, 27 Nov 2015 17:23:11 +0000 > > I debugged Emacs core the other day for the first time. As I have no > experience with C, GDB or any of the Emacs tooling, I found this an > uphill struggle, so I have written up a short "how-to-debug" Emacs file. Thanks. Some of this is already in etc/DEBUG, other parts belong to basic GDB operation, so I'm not sure we should describe that in Emacs. I suggest that you read etc/DEBUG, if you didn't already, and suggest changes to that file where you think it leaves something important uncovered.