From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Yuan Fu Newsgroups: gmane.emacs.devel Subject: Re: Extend gdb to filter registers Date: Sat, 18 Jan 2020 12:53:46 -0500 Message-ID: References: <878spmuerf.fsf@mail.linkov.net> <83wod3bx8i.fsf@gnu.org> <9f5ddaa5-0234-a17b-bdd7-81d70a0a50d6@gmx.at> <83FFF194-64CD-409E-8B7A-5A9DF91E79DE@gmail.com> <83v9pb314t.fsf@gnu.org> <838sm510d6.fsf@gnu.org> <83muakzoy5.fsf@gnu.org> Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="12606"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rudalics@gmx.at, juri@linkov.net, emacs-devel@gnu.org, monnier@iro.umontreal.ca, John Yates To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jan 18 18:54:38 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1issIu-0003D0-Mx for ged-emacs-devel@m.gmane-mx.org; Sat, 18 Jan 2020 18:54:36 +0100 Original-Received: from localhost ([::1]:43294 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1issIt-0002xf-Ng for ged-emacs-devel@m.gmane-mx.org; Sat, 18 Jan 2020 12:54:35 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41631) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1issIC-0002Q1-J3 for emacs-devel@gnu.org; Sat, 18 Jan 2020 12:53:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1issIB-0006Rr-JH for emacs-devel@gnu.org; Sat, 18 Jan 2020 12:53:52 -0500 Original-Received: from mail-qk1-x742.google.com ([2607:f8b0:4864:20::742]:43432) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1issI9-0006QD-Ul; Sat, 18 Jan 2020 12:53:50 -0500 Original-Received: by mail-qk1-x742.google.com with SMTP id t129so26054311qke.10; Sat, 18 Jan 2020 09:53:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=IVVdZ+dbiRSFPEfFv1Z4Z2JBBndn4e/UZJfMqzd5OBk=; b=uxK7zSe2dFtu2yTCCbJOq7+DMOF9nzMWJAFSHktDtI9Ec59/y9YOfhIls0NdLfqeFI hAVGK+vS/jeSI4Dp+YuJHHNKk/MI0TLsbGkrB5YOITQz6bs6F+b/80A460cL/XxMS1Qu 0bNEG8WKDBlkUr3TR8ltDbYsDbWduyDsSna3TJRk2hJE+98Pmgd5CuxtVbE2ihqiNTzj x/25M5hZuAC1WI1uRwIM4cC/4lWqntZw9kuBG48p6UEiqYq7rElcMifQSfSYE0g/nOqD Z3mv9pYxP9GhSMIOtHM6gLqsDSTKOHntL+NyINjkf4aGwKzi2jQoD+5pqrLpv6WRsYxc 0xqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=IVVdZ+dbiRSFPEfFv1Z4Z2JBBndn4e/UZJfMqzd5OBk=; b=qwEfATtD4vACzzVlJ5gRBxsKTtB1xCB6WVW6lfdfSdpCCAYy+z1TMJM/luEUUU+YQp amYk1h6WSPoWq2OnPPmLNSvmp/4Lf9gScj/NcM3mXg1/oZ0S0Rj9WYO4/dDXf2/BAp9z s0x04y52+VLiRuWCvqYRBDuZ+E+LrgwzwPHwmdWeh43WV2fuotE+d2MlBZw6HbRzfsmH 8dDq4iRQL3iRJDOg1oHKVoHFX5sE1i2g8dCTM/ZNf/r4/8mggAsy5OaaI6/E0nIhZlrs EY7W7iRHeZW0mOSTeAx2UPkL6AP2f+mUM8dPP9Bg8EQ20UPXqIfvWCd3eq8tOgnff2R9 1Hvg== X-Gm-Message-State: APjAAAUHlkXVGYO2XpU4MuVWNPHBY+P6BDuCt6VcOCoXs5XlGTjf18Y9 sMjs4Y6JzF0FgZ2YSh6t0+EokccjNJZ+6bSr X-Google-Smtp-Source: APXvYqzsXFLfuzqEDgj+sDESy1URVli9hA0fSeI9RXq3Svkgxx7SQ8j5vG4vRhnlsrjx4VFvmXzsvQ== X-Received: by 2002:a37:a406:: with SMTP id n6mr44741337qke.63.1579370029080; Sat, 18 Jan 2020 09:53:49 -0800 (PST) Original-Received: from [192.168.1.5] (c-174-60-229-153.hsd1.pa.comcast.net. [174.60.229.153]) by smtp.gmail.com with ESMTPSA id t29sm13227892qkm.27.2020.01.18.09.53.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 18 Jan 2020 09:53:48 -0800 (PST) In-Reply-To: <83muakzoy5.fsf@gnu.org> X-Mailer: Apple Mail (2.3608.40.2.2.4) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::742 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:244345 Archived-At: > In any case, the proposed changeset looks very large for fixing such a > small problem. The fix is small =E2=80=94 4 deletion and 4 insertions. It is in = gdb-source-window.patch. The big one your are referred to is the feature = patch that allows user to store their layout to a file and later restore = it. Right now if you want to use many-windows in gdb, the default = 6-window layout is the only option. I also sent a window layout file = that you can restore from, named `default-rearrange`. To clarify, now I have collected 5 patches: - unwind-protect.patch: bugfix - gdb-source-window.patch: bugfix - 0001-Add-register-filters-to-gdb-mi.patch: add register filters, so = you can display only the ones you want - memory.patch: allow user to use expressions as memory address in = memory buffer - store-window-new.patch: allow user to store & restore window layout. And a window layout file `default-rearrange`. Yuan=