From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Davis Herring Newsgroups: gmane.emacs.devel Subject: Re: Revise etc/DEBUG documentation Date: Tue, 6 Sep 2016 15:52:02 -0600 Organization: XCP-1 Message-ID: References: <864m5xtgtf.fsf@realize.ch> <838tv9dxu1.fsf@gnu.org> <86zinpruq0.fsf@realize.ch> <8360qddpc7.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1473199042 5068 195.159.176.226 (6 Sep 2016 21:57:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 6 Sep 2016 21:57:22 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2 Cc: Alain Schneble , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 06 23:57:18 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 1bhOMd-0008Gt-Ox for ged-emacs-devel@m.gmane.org; Tue, 06 Sep 2016 23:57:08 +0200 Original-Received: from localhost ([::1]:36218 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhOMb-0003Vh-5i for ged-emacs-devel@m.gmane.org; Tue, 06 Sep 2016 17:57:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48209) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhOHo-0008Vy-Fv for emacs-devel@gnu.org; Tue, 06 Sep 2016 17:52:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bhOHk-0003wo-Dm for emacs-devel@gnu.org; Tue, 06 Sep 2016 17:52:07 -0400 Original-Received: from proofpoint4.lanl.gov ([2001:400:4210:400::a4]:49004) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhOHk-0003we-2F; Tue, 06 Sep 2016 17:52:04 -0400 Original-Received: from mailrelay2.lanl.gov (mailrelay2.lanl.gov [128.165.4.103]) by mailgate4.lanl.gov (8.15.0.59/8.15.0.59) with ESMTP id u86Lq2I2025717; Tue, 6 Sep 2016 15:52:02 -0600 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by mailrelay2.lanl.gov (Postfix) with ESMTP id ABD68F424E2; Tue, 6 Sep 2016 15:52:02 -0600 (MDT) X-NIE-2-Virus-Scanner: amavisd-new at mailrelay2.lanl.gov Original-Received: from chinstrap.lanl.gov (chinstrap.lanl.gov [128.165.123.246]) by mailrelay2.lanl.gov (Postfix) with ESMTP id 8E768F424D8; Tue, 6 Sep 2016 15:52:02 -0600 (MDT) In-Reply-To: <8360qddpc7.fsf@gnu.org> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.15.154, 1.0.3, 0.0.0000 definitions=2016-09-06_09:2016-09-06, 2016-09-06, 1970-01-01 signatures=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 2001:400:4210:400::a4 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:207225 Archived-At: > +It is also useful to have a guaranteed way to return to the debugger > +at any arbitrary time. When using X, this is easy: type C-z at the > +window where you are interacting with GDB, and it will stop Emacs just > +as it would stop any ordinary program. When Emacs is displaying on a I know this is largely old text, but while we're editing it: if GDB was attached to a running process ("gdb -p ..."), C-z sent to GDB's terminal will just suspend GDB. With SIGINT set to nostop, you can't stop the program from GDB: you have to use its controlling terminal (C-z or C-\, since C-c is nostop even thence) if it has one, or else kill(1). Davis -- This product is sold by volume, not by mass. If it appears too dense or too sparse, it is because mass-energy conversion has occurred during shipping.