From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Karl Fogel Newsgroups: gmane.emacs.devel Subject: Re: Debugging Emacs Date: Fri, 27 Nov 2015 11:48:14 -0600 Message-ID: References: <87r3jbicg0.fsf@russet.org.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1448646500 28760 80.91.229.3 (27 Nov 2015 17:48:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Nov 2015 17:48:20 +0000 (UTC) Cc: Emacs development discussions To: Phillip Lord Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 27 18:48:17 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 1a2N83-0000oB-Vv for ged-emacs-devel@m.gmane.org; Fri, 27 Nov 2015 18:48:16 +0100 Original-Received: from localhost ([::1]:57922 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2N86-0007cm-Ne for ged-emacs-devel@m.gmane.org; Fri, 27 Nov 2015 12:48:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49123) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2N83-0007cg-Tg for emacs-devel@gnu.org; Fri, 27 Nov 2015 12:48:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a2N82-00063H-Sv for emacs-devel@gnu.org; Fri, 27 Nov 2015 12:48:15 -0500 Original-Received: from mail-vk0-x22e.google.com ([2607:f8b0:400c:c05::22e]:36535) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2N82-00063D-Ov for emacs-devel@gnu.org; Fri, 27 Nov 2015 12:48:14 -0500 Original-Received: by vkay187 with SMTP id y187so72128105vka.3 for ; Fri, 27 Nov 2015 09:48:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=FXB4NhJXz+/MHGJVqyerY4cFJURXnNpNCFjS+dNWGLs=; b=hxmKuhaCZwxXjrcMDvVifSYtrQFMEuaLHNbzX++jgBZdEOuiyUKW2eVolYEiOdJRIG HBk0AyLD7kdkfp9mD/t6sF7ViRZiOIV+xKPkyG7SszVW3gHX/XqpVqhFgKasfr/U0ogX H505jmfqIMJUAVrupIpRV2w1uPQoOkb7k5L+7kyc1QvGAYTSloE7AkGRtCdxY317J4cu ZIakGaYqYsRIcZXVu5w7momMHtFK7utJqpVOKQfJpUCWs9P7P7R5AEzFmffymy3U7I6Q JpyWzy62UwM/JFL6Id1IBPjG5HtqWCavxnGaKkeVncHqLVCEBOV06yCzXHpany+0lYb5 g24w== X-Received: by 10.31.21.213 with SMTP id 204mr43896001vkv.29.1448646494112; Fri, 27 Nov 2015 09:48:14 -0800 (PST) Original-Received: by 10.103.97.68 with HTTP; Fri, 27 Nov 2015 09:48:14 -0800 (PST) In-Reply-To: <87r3jbicg0.fsf@russet.org.uk> X-Google-Sender-Auth: cnxIBMpXc7Ag1jO4JYcYeQPKDmY X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400c:c05::22e 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:195397 Archived-At: On Fri, Nov 27, 2015 at 11:23 AM, Phillip Lord wrote: > 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. > > It starts from a slightly earlier place than the current DEBUG file, and > is a step by step guide. The existing DEBUG file, I found pretty dense. Have you considered finding a place for this somewhere in the "Programming Emacs in Lisp and C" section of the Emacs Wiki at http://www.emacswiki.org/#toc6 ?