From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.devel Subject: Re: Revise etc/DEBUG documentation Date: Sat, 3 Sep 2016 09:45:03 -0400 Message-ID: References: <864m5xtgtf.fsf@realize.ch> <838tv9dxu1.fsf@gnu.org> <86zinpruq0.fsf@realize.ch> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1472910361 4705 195.159.176.226 (3 Sep 2016 13:46:01 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 3 Sep 2016 13:46:01 +0000 (UTC) Cc: Eli Zaretskii , Emacs developers To: Alain Schneble Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 03 15:45:57 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 1bgBGd-0000jo-9R for ged-emacs-devel@m.gmane.org; Sat, 03 Sep 2016 15:45:56 +0200 Original-Received: from localhost ([::1]:46505 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bgBGa-0005NP-R1 for ged-emacs-devel@m.gmane.org; Sat, 03 Sep 2016 09:45:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58303) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bgBFs-0005C0-VN for emacs-devel@gnu.org; Sat, 03 Sep 2016 09:45:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bgBFs-0003Jr-2c for emacs-devel@gnu.org; Sat, 03 Sep 2016 09:45:08 -0400 Original-Received: from mail-oi0-x236.google.com ([2607:f8b0:4003:c06::236]:34024) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bgBFp-0003GG-B5; Sat, 03 Sep 2016 09:45:05 -0400 Original-Received: by mail-oi0-x236.google.com with SMTP id m11so71077427oif.1; Sat, 03 Sep 2016 06:45:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=2graQuQawm9+hLn4wid2FPbdrGCQm5y/KjJj28QFLVE=; b=rWFnkm3ItMHiWJEz4McAE+11fMtIhgqEzwEsavHp5LODcJ2iRZ3k4CQ4PoI0WmNCgf DIvFTYBL+TddU3tJPs0mTzPswjgE+nroV9kk+JPHDJ6cNdxlfnLwoZDpRvcANHWHOadB 2W5uz+2QR+PlW0vVD+Pw8RzxhM9Umapnhhgc63S8dZ4xmJnEl0rNFYIxFq56XfC1eytJ w+v2z1jemQq7UVRudCnIZBqbOJH3orzfxGEVNXvzj714gzdX+8+JASTc1sCXFAyE1xA5 4bU6ogbcppCfM9ngCPE47dEx4466eG1xO3W7X0LNaa1UKa2rSyC0DeN89kHvkgePsdKh fw0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=2graQuQawm9+hLn4wid2FPbdrGCQm5y/KjJj28QFLVE=; b=Loy5I4Yoh4bnFDZt3Z9+dEclTWwd81MSY/eQ2a1BCjzhJDGOzIFe0lbhDmbFM3sYwd 2FnCrzXkK6LWQdcrFjAS9pJ9l6alg7b76Gr0tmyt+/tCBDx6AeL9MS7GUiqH/dGG6/6l JP+OGgs1o5BwFJtWEV9lAXxDcT+tzx3FbjRDufRrOSzwtpY53lBPvuO+nXxFtpxQt6Da VWejM9NXcAdAB14hMSiHjenMN8LlCF1CEhWnujZ83izfbCrZa01X1W1ECeX6Q89snELS JcecnZRWcLbjpje8hqFQZ3PSvIxIYMpypttMNMk1Cl60VQHPv6iYkuVB6UnSTnhQKbcw /8og== X-Gm-Message-State: AE9vXwOZ9hE7+EIKNigmXCl97azhXK3GMxZmUIrMDvdjYkWT2Oqs4S9K6nQHzkKAi1EfqJfUTGBOUg6RneRSlQ== X-Received: by 10.202.86.66 with SMTP id k63mr22110172oib.178.1472910303431; Sat, 03 Sep 2016 06:45:03 -0700 (PDT) Original-Received: by 10.157.7.195 with HTTP; Sat, 3 Sep 2016 06:45:03 -0700 (PDT) In-Reply-To: <86zinpruq0.fsf@realize.ch> X-Google-Sender-Auth: TgrbJn9TRPwqZYhT-K8x_KkPPYo X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4003:c06::236 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:207149 Archived-At: On Sat, Sep 3, 2016 at 9:14 AM, Alain Schneble wrote: >>> +When using X, type C-z at the window where Emacs is running under GDB, >>> +and it will stop Emacs just as it would stop any ordinary program. >> >> The "window where Emacs is running under GDB" part is IMO confusing: I >> couldn't figure out what window does this refer to. There might not >> be such a window at all, AFAIU. > > To be honest, I don't understand this either. But this was there > before. I just took it over and rephrased it slightly. For example C-z > in Gnome just minimizes the window (Emacs frame) AFAIK, but doesn't stop > Emacs. Do you know what C-z usually does in X window with a GUI > application? Does it send a signal to it? There's no special meaning of C-z for X windows. Emacs binds it to `suspend-frame'. The "window" in question here is the window of the terminal emulator where gdb was started from. In this case hitting C-z while Emacs is running gives back to the debugger (by sending SIGTSTP apparently) (gdb) run Starting program: /home/npostavs/src/emacs/emacs-master/src/emacs -Q [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". [New Thread 0x7fffe959a700 (LWP 23870)] [New Thread 0x7fffe8981700 (LWP 23871)] [New Thread 0x7fffe3fff700 (LWP 23872)] ^Z Thread 1 "emacs" received signal SIGTSTP, Stopped (user). 0x00007ffff0b1918c in pselect () from /usr/lib/libc.so.6 (gdb)