From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alain Schneble Newsgroups: gmane.emacs.devel Subject: Re: Revise etc/DEBUG documentation Date: Sun, 4 Sep 2016 18:24:30 +0200 Message-ID: <86mvjnske9.fsf@realize.ch> References: <864m5xtgtf.fsf@realize.ch> <838tv9dxu1.fsf@gnu.org> <86zinpruq0.fsf@realize.ch> <8360qddpc7.fsf@gnu.org> <86vaycslct.fsf@realize.ch> <83mvjnd8uw.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1473006357 5147 195.159.176.226 (4 Sep 2016 16:25:57 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 4 Sep 2016 16:25:57 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (windows-nt) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Sep 04 18:25:53 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bgaEw-0000bZ-CP for ged-emacs-devel@m.gmane.org; Sun, 04 Sep 2016 18:25:50 +0200 Original-Received: from localhost ([::1]:50508 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bgaEt-0002Et-Fc for ged-emacs-devel@m.gmane.org; Sun, 04 Sep 2016 12:25:47 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58683) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bgaEF-0002CJ-2Z for emacs-devel@gnu.org; Sun, 04 Sep 2016 12:25:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bgaEE-0000TB-2D for emacs-devel@gnu.org; Sun, 04 Sep 2016 12:25:06 -0400 Original-Received: from clientmail.realize.ch ([46.140.89.53]:2374) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1bgaE7-0000Ri-Kd; Sun, 04 Sep 2016 12:24:59 -0400 Original-Received: from rintintin.hq.realize.ch.lan.rit ([192.168.0.105]) by clientmail.realize.ch ; Sun, 4 Sep 2016 18:24:48 +0200 Original-Received: from MYNGB (192.168.66.64) by rintintin.hq.realize.ch.lan.rit (192.168.0.105) with Microsoft SMTP Server (TLS) id 15.0.516.32; Sun, 4 Sep 2016 18:24:28 +0200 In-Reply-To: <83mvjnd8uw.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 04 Sep 2016 17:42:47 +0300") X-ClientProxiedBy: rintintin.hq.realize.ch.lan.rit (192.168.0.105) To rintintin.hq.realize.ch.lan.rit (192.168.0.105) X-detected-operating-system: by eggs.gnu.org: Windows NT kernel [generic] X-Received-From: 46.140.89.53 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:207177 Archived-At: Eli Zaretskii writes: > It is actually more complicated than that, because the same Emacs > session could have some GUI frames and some text-mode frames (though > not on MS-Windows). That's why saying "Emacs executes as GUI" is > problematic at best. I didn't even know that this is possible. Thanks for pointing it out. > I understood what you were saying. But your description doesn't match > what I see here. (And no, it's not OS version dependent, as I see the > same on Windows 7 as on XP.) My crystal ball says that you see that > in a session which either didn't read src/.gdbinit, or you manually > issued a 'handle' command that changes how SIGINT is handled by GDB, > because under the default setting in .gdbinit, SIGINT has the > "noprint" attribute, which implies "nostop". Your crystal ball told you the truth. In my session, it did not properly load src/.gdbinit as I started gdb without specifying an executable file as command line args. In this case, the line 'set $dummy = main + 8' in .gdbinit issues an error and script execution stops. Hence, all the 'handle' commands that follow were not executed. I must have overlooked that. I'm sorry. >> Of course you can use 1) as well. But this will show a SIGTRAP instead >> of a SIGINT message in GDB ('Thread [m] received signal SIGTRAP, >> Trace/breakpoint trap'). > > From the user POV, the difference is unimportant, the important part > is to get control back to GDB. Indeed. >> > +When Emacs is displaying on a text terminal, it is sometimes useful to >> ^^^^^^^^^^^^^^^^^^^^^^ >> Isn't this always useful or even required? Or is there a standard use >> case that requires not doing so? > > Yes, deleting the "sometimes" part would be beneficial, thanks. Thanks. >> I agree with your changes. These are the important points. Thanks for >> your help. > > Thanks, I will install this in a short while. Thank you.