From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Leake Newsgroups: gmane.emacs.devel Subject: Re: Debugging Emacs Date: Sun, 29 Nov 2015 12:13:47 -0600 Message-ID: <86k2p0vfl0.fsf@stephe-leake.org> References: <87r3jbicg0.fsf@russet.org.uk> <83wpt3qq7b.fsf@gnu.org> <87lh9jp073.fsf@russet.org.uk> <83h9k6r1z8.fsf@gnu.org> <878u5hlxqd.fsf@russet.org.uk> <8337vpq2po.fsf@gnu.org> <87zixxkdth.fsf@russet.org.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1448820856 18875 80.91.229.3 (29 Nov 2015 18:14:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 29 Nov 2015 18:14:16 +0000 (UTC) Cc: Eli Zaretskii , 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 Sun Nov 29 19:14:02 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 1a36U4-0005iR-He for ged-emacs-devel@m.gmane.org; Sun, 29 Nov 2015 19:14:00 +0100 Original-Received: from localhost ([::1]:37261 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a36U8-0003HW-MO for ged-emacs-devel@m.gmane.org; Sun, 29 Nov 2015 13:14:04 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57633) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a36U5-0003HJ-Ft for emacs-devel@gnu.org; Sun, 29 Nov 2015 13:14:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a36U1-0003JO-CB for emacs-devel@gnu.org; Sun, 29 Nov 2015 13:14:01 -0500 Original-Received: from gproxy7-pub.mail.unifiedlayer.com ([70.40.196.235]:58521) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1a36U1-0003JG-3q for emacs-devel@gnu.org; Sun, 29 Nov 2015 13:13:57 -0500 Original-Received: (qmail 29793 invoked by uid 0); 29 Nov 2015 18:13:55 -0000 Original-Received: from unknown (HELO cmgw2) (10.0.90.83) by gproxy7.mail.unifiedlayer.com with SMTP; 29 Nov 2015 18:13:54 -0000 Original-Received: from host114.hostmonster.com ([74.220.207.114]) by cmgw2 with id nWDp1r0032UdiVW01WDshS; Sun, 29 Nov 2015 11:13:53 -0700 X-Authority-Analysis: v=2.1 cv=dqRIVTQ4 c=1 sm=1 tr=0 a=CQdxDb2CKd3SRg4I0/XZPQ==:117 a=CQdxDb2CKd3SRg4I0/XZPQ==:17 a=DsvgjBjRAAAA:8 a=f5113yIGAAAA:8 a=9i_RQKNPAAAA:8 a=hEr_IkYJT6EA:10 a=x_XPkuGwIRMA:10 a=qtqOOiqGOCEA:10 a=vg3opETtAAAA:8 a=Uu54BkfnBgYvEsp9iCoA:9 Original-Received: from [76.218.37.33] (port=58702 helo=TAKVER2) by host114.hostmonster.com with esmtpa (Exim 4.84) (envelope-from ) id 1a36Tu-0000lM-GQ; Sun, 29 Nov 2015 11:13:50 -0700 In-Reply-To: <87zixxkdth.fsf@russet.org.uk> (Phillip Lord's message of "Sat, 28 Nov 2015 21:35:06 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (windows-nt) X-Identified-User: {2442:host114.hostmonster.com:stephele:stephe-leake.org} {sentby:smtp auth 76.218.37.33 authed with stephen_leake@stephe-leake.org} X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 70.40.196.235 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:195559 Archived-At: phillip.lord@russet.org.uk (Phillip Lord) writes: > Now, if we had a command, say `break', implemented in C, then added a > "breakpoint Fbreak" into .gdbinit, then all of this would happen > automatically. Under GDB, then "M-x break" or (break) Emacs would halt. > Outside M-x break would do nothing. I would find this convenient; I would not have to remember what function I had set a break in for my current debug session; it would always be the same one. -- -- Stephe