From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: gud.el organization and adding debuggers Date: Thu, 02 Feb 2006 21:30:22 -0500 Message-ID: <87d5i5npmn.fsf-monnier+emacs@gnu.org> References: <17377.22796.880736.93318@panix3.panix.com> <17378.36015.450470.209995@panix3.panix.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138933846 17194 80.91.229.2 (3 Feb 2006 02:30:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 3 Feb 2006 02:30:46 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 03 03:30:44 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F4qif-0007O9-6Z for ged-emacs-devel@m.gmane.org; Fri, 03 Feb 2006 03:30:41 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F4qln-0007P1-Uz for ged-emacs-devel@m.gmane.org; Thu, 02 Feb 2006 21:33:55 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F4qla-0007Lm-J6 for emacs-devel@gnu.org; Thu, 02 Feb 2006 21:33:42 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F4qlY-0007LL-49 for emacs-devel@gnu.org; Thu, 02 Feb 2006 21:33:42 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F4qlX-0007LC-W7 for emacs-devel@gnu.org; Thu, 02 Feb 2006 21:33:40 -0500 Original-Received: from [209.226.175.110] (helo=tomts43-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1F4qkT-0002M0-On for emacs-devel@gnu.org; Thu, 02 Feb 2006 21:32:34 -0500 Original-Received: from alfajor ([67.71.26.32]) by tomts43-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20060203023023.JZWE23065.tomts43-srv.bellnexxia.net@alfajor>; Thu, 2 Feb 2006 21:30:23 -0500 Original-Received: by alfajor (Postfix, from userid 1000) id C0E5AD7466; Thu, 2 Feb 2006 21:30:22 -0500 (EST) Original-To: rocky@panix.com In-Reply-To: <17378.36015.450470.209995@panix3.panix.com> (R. Bernstein's message of "Thu, 2 Feb 2006 17:50:23 -0500") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:49949 Archived-At: >> Yes, GUD's support for particular debuggers should be made more modular. >> It should also be possible to have several GUD sessions using different >> debuggers at the same time. > Huh? Currently I have have no problem having several GUD sessions. Really? And those GUD sessions don't all use the same debugger? Which debuggers do they use? > And if I want to debug the same program more than once simultaneously > a "rename-buffer" or "rename-uniquely" works for me. The problem is (among a few others) that each sessions makes global changes. E.g. `gud-def' redefines globally the text sent to the underlying debuggers. > However, if there seems to be a consensus on this, I'd be happy to > break gud.el into a generic file (gud.el) and several > debugger-specific files (bashdb.el, mdb.el, pydb.el, etc.). Also make > the changes I suggested in my previous email of using "define-key > gud-menu-map" and removing entries from "easy-mmode-defmap > gud-menu-map". I'd rather keep as many entries in gud-menu-map as possible, and simply make them invisible when the debugger doesn't support them. This will ensure better consistency between the various debuggers supported. Stefan