From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Extend gdb to filter registers Date: Sat, 05 Oct 2019 22:01:17 +0300 Message-ID: <83sgo72f0i.fsf@gnu.org> References: <837e5j6561.fsf@gnu.org> <048A4D6D-54A6-4495-807A-9C123B4AFB7F@gmail.com> <83d0fb47uh.fsf@gnu.org> <633E2F0B-BFD6-4CF1-B9AB-9CD36827ABC1@gmail.com> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="112875"; mail-complaints-to="usenet@blaine.gmane.org" Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Yuan Fu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 05 21:02:10 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 1iGpJi-000TEF-CV for ged-emacs-devel@m.gmane.org; Sat, 05 Oct 2019 21:02:10 +0200 Original-Received: from localhost ([::1]:58442 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iGpJg-0006pR-Qu for ged-emacs-devel@m.gmane.org; Sat, 05 Oct 2019 15:02:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33433) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iGpJP-0006pJ-2L for emacs-devel@gnu.org; Sat, 05 Oct 2019 15:01:52 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:44952) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iGpJO-0003Ve-Py; Sat, 05 Oct 2019 15:01:50 -0400 Original-Received: from [176.228.60.248] (port=3121 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iGpJL-0005pb-BI; Sat, 05 Oct 2019 15:01:50 -0400 In-reply-to: <633E2F0B-BFD6-4CF1-B9AB-9CD36827ABC1@gmail.com> (message from Yuan Fu on Sat, 5 Oct 2019 13:51:05 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:240628 Archived-At: > From: Yuan Fu > Date: Sat, 5 Oct 2019 13:51:05 -0400 > Cc: Stefan Monnier , > emacs-devel@gnu.org > > * make gdb-mi support multiple memory display, so that I can monitor > different memory locations at the same time > > * make gdb-mi support expressions as memory location, e.g., $rsp, x+1. > This mimics the display command of gdb, e.g. display/5gx $rsp. > Currently, gdb-mi does supports expressions for setting memory > monitors but translates it to a _fixed_ value; and the memory > monitor doesn't reflect the chagne of the expression's value. For > example, it does't follow $rsp and update address as $rsp chganges > > * make gdb-mi support multiple gdb sessions at the same time. Sound useful features to me, thanks. > * Is there any test that I can check my changes again to? Unfortunately, no. You will get bonus points for starting one. > * Is the last one (multiple gdb sessions) neccessary? Have there been > requests for it? It sounds a bit obscure, and I don't think I;ve ever heard a request for that. So we could leave this out for now. Thanks.