From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Yuan Fu Newsgroups: gmane.emacs.devel Subject: Re: Extend gdb to filter registers Date: Wed, 16 Oct 2019 23:27:09 -0400 Message-ID: References: <7317b967-7887-a3e2-90df-07b0641e106c@gmx.at> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="13626"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Emacs developers To: martin rudalics , Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 17 05:27:45 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iKwS1-0003Qz-3S for ged-emacs-devel@m.gmane.org; Thu, 17 Oct 2019 05:27:45 +0200 Original-Received: from localhost ([::1]:58940 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iKwRz-0007dT-UB for ged-emacs-devel@m.gmane.org; Wed, 16 Oct 2019 23:27:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38425) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iKwRW-0007cl-QU for emacs-devel@gnu.org; Wed, 16 Oct 2019 23:27:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iKwRV-00066r-Ld for emacs-devel@gnu.org; Wed, 16 Oct 2019 23:27:14 -0400 Original-Received: from mail-qk1-x733.google.com ([2607:f8b0:4864:20::733]:41304) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iKwRU-00066I-LI for emacs-devel@gnu.org; Wed, 16 Oct 2019 23:27:13 -0400 Original-Received: by mail-qk1-x733.google.com with SMTP id p10so570557qkg.8 for ; Wed, 16 Oct 2019 20:27:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=hZiIih884mjtjBe8aj6P4rxHv2IjY8BKayT9LHRTtos=; b=SMnAJIYGeLKeGfGDRSQC8FFVt4oLu5HeyctjbfaoroN3XUg1CMo8FSuEGC8f077mhU k48jnGX5zkGsfxeulFG6zYR1Is0lpsAjj0DOoFbumVW2njYa/8x7kHKYi/RWFaY7KLCJ eTbxxjxu+rvDqzVQ9Pec3iBnbcDw2L0Wa1XwhlolahXbpPHuEMdXBaFCNFX+we3S5SQ0 5FCdd9078xap+YX2nsZBFTZ4UXl+eQgAmJhJe9l4VGpCzxrfl5p4udDemYjYCLGn//C7 aHwOd8ql2H/hLbhjlQhDiO/IVHHuL2LbBSyQllQQLFICbMjCzNIFYeA6mLGjMIYFjV4T VPew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=hZiIih884mjtjBe8aj6P4rxHv2IjY8BKayT9LHRTtos=; b=LdPp2APmGY7thKhsRS/tVMjlaneuM9rHLC43FmpRpyMLSLIlw5C+WGjunnib5GoY/U uPTrOCfgk0cvhYUpYK6NOFAj/LupWoptWRw6HzOCI6VE0LJHJIQvsM9g7nJld1v1u2+p GQTCzPNEjP+oePGkifmwqrWux9nK9vAb1Jwe02ImJbiqAgue9Q0BJFV4x/ZNDr3+toQ/ aOK4MArvFdNRTNabRxaML0RN8YdmiDWRZGcEhh8p3i0e3taoFLEXAdDKODsjndfAxl1P CFQ8TPqYJ3CUJOzlzOEBd7wD8T107hNeHlAZMdXQK324ausx/sMPfm5HRLJOhbKAXqac G2iA== X-Gm-Message-State: APjAAAUZtg55FjEM1QIsZbfpXsPDuRbWpQXkwgvuUiZT7toi26lqizGu wUJC8HozEap9VgsUr17pCu8= X-Google-Smtp-Source: APXvYqyF3z9ESsXSNuXPCtw4blB4YI5On+8pftEKwhSjaxSt5kd/WTQzIzQvmWSH5x4ezx3tZZxNAA== X-Received: by 2002:a37:2fc1:: with SMTP id v184mr1357879qkh.22.1571282831892; Wed, 16 Oct 2019 20:27:11 -0700 (PDT) Original-Received: from missSilver.localdomain (c-71-207-8-160.hsd1.pa.comcast.net. [71.207.8.160]) by smtp.gmail.com with ESMTPSA id q64sm676556qkb.32.2019.10.16.20.27.11 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 16 Oct 2019 20:27:11 -0700 (PDT) Original-Received: by missSilver.localdomain (Postfix, from userid 501) id 29F1120292AD16; Wed, 16 Oct 2019 23:27:09 -0400 (EDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::733 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:241116 Archived-At: Before anyone slap me for it, here is another fix for the macro. (defmacro with-window-undedicated (&rest body) "Run BODY in WINDOW with window-dedicated temporarily disabled. " (let ((window-dedicated-sym (gensym))) `(let ((,window-dedicated-sym (window-dedicated-p))) (when ,window-dedicated-sym (set-window-dedicated-p nil nil)) ,@body (when ,window-dedicated-sym (set-window-dedicated-p nil t))))) Yuan