From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Michael Welsh Duggan Newsgroups: gmane.emacs.devel Subject: Re: Extend gdb to filter registers Date: Mon, 07 Oct 2019 12:19:22 -0400 Message-ID: References: <837e5j6561.fsf@gnu.org> <048A4D6D-54A6-4495-807A-9C123B4AFB7F@gmail.com> <83d0fb47uh.fsf@gnu.org> <633E2F0B-BFD6-4CF1-B9AB-9CD36827ABC1@gmail.com> <87y2xy8owh.fsf@md5i.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="256006"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Michael Welsh Duggan , emacs-devel@gnu.org To: Yuan Fu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 07 18:24:19 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 1iHVo3-0014UU-3I for ged-emacs-devel@m.gmane.org; Mon, 07 Oct 2019 18:24:19 +0200 Original-Received: from localhost ([::1]:47396 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iHVo1-0005PN-CO for ged-emacs-devel@m.gmane.org; Mon, 07 Oct 2019 12:24:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57902) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iHVjS-0008PB-Iu for emacs-devel@gnu.org; Mon, 07 Oct 2019 12:19:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iHVjR-0005Zu-Bn for emacs-devel@gnu.org; Mon, 07 Oct 2019 12:19:34 -0400 Original-Received: from taper.sei.cmu.edu ([147.72.252.16]:46868) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iHVjR-0005YC-5B for emacs-devel@gnu.org; Mon, 07 Oct 2019 12:19:33 -0400 Original-Received: from delp.sei.cmu.edu (delp.sei.cmu.edu [10.64.21.31]) by taper.sei.cmu.edu (8.14.7/8.14.7) with ESMTP id x97GJRsB018366; Mon, 7 Oct 2019 12:19:27 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 taper.sei.cmu.edu x97GJRsB018366 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cert.org; s=yc2bmwvrj62m; t=1570465167; bh=HwZBNy2XYLkCAuN5AV3OaasQWtJFUuDg793nZPvHsBg=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=NIntjoQrAtuUpdcfFL9mQKU4lUCBQNMxiaD7LxChgu9iBYhtf9r6OvnQzkDw8Xnj4 U2AmuUdXMZueH2RELKeK22NtSjnLOMwdXM+V5umDQDrmh6qOaLBhhT5mDSa3TtdSre PaTHs7DkaFrqnWJHCR1ioWhGiMqoQb1lnWPo0nk8= Original-Received: from lx-birch.ad.sei.cmu.edu (lx-birch.ad.sei.cmu.edu [10.64.53.120]) by delp.sei.cmu.edu (8.14.7/8.14.7) with ESMTP id x97GJNwu021789; Mon, 7 Oct 2019 12:19:23 -0400 Original-Received: from lx-birch.ad.sei.cmu.edu (localhost [127.0.0.1]) by lx-birch.ad.sei.cmu.edu (8.14.7/8.14.7) with ESMTP id x97GJM62007246; Mon, 7 Oct 2019 12:19:22 -0400 Original-Received: (from mwd@localhost) by lx-birch.ad.sei.cmu.edu (8.14.7/8.14.7) id x97GJMie007242; Mon, 7 Oct 2019 12:19:22 -0400 X-Authentication-Warning: lx-birch.ad.sei.cmu.edu: mwd set sender to mwd@cert.org using -f In-Reply-To: (Yuan Fu's message of "Mon, 7 Oct 2019 11:50:11 -0400") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 147.72.252.16 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:240706 Archived-At: Yuan Fu writes: > Michael Welsh Duggan writes: > >> I live by it. I can still do multiple gdb session using M-x gud-gdb. >> This is the sole blocker that prevents me from using gdb-mi. > > Could you describe why do you debug two programs in the same time? There are two circumstances, one for which it is necessary, and the other of which for which it is not. The one for which it is necessary is when I am debugging both sides of a client/server protocol, and I want to see what both the client and the server are doing. In the not-as-necessary but I do it all the time category, I often am working on several programs at a time (I do a lot of infrastructure maintenance on my team) and have to switch from debugging one to debugging another but would prefer to not lose my prior debugging state when doing so. For both these I could run a separate emacs, but I am generally in the "one long-running emacs" camp, as I know is not uncommon in this group. -- Michael Welsh Duggan (mwd@cert.org)