From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.devel Subject: Multiple debugging sessions [was Re: `overlay-arrow-position' should be automatically buffer-local] Date: Thu, 10 Nov 2005 19:51:30 +1300 Message-ID: <17266.60914.593789.221645@kahikatea.snap.net.nz> References: <87u0feb5b7.fsf@wigwam.deepwood.net> <871x2hck3a.fsf@cut.bc.hsia.telus.net> <17239.8445.256875.931159@kahikatea.snap.net.nz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1131606753 1806 80.91.229.2 (10 Nov 2005 07:12:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 10 Nov 2005 07:12:33 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 10 08:12:31 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Ea6ab-0004kg-OS for ged-emacs-devel@m.gmane.org; Thu, 10 Nov 2005 08:11:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ea6aa-0007Gt-Fc for ged-emacs-devel@m.gmane.org; Thu, 10 Nov 2005 02:11:16 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ea6HK-0000fp-DM for emacs-devel@gnu.org; Thu, 10 Nov 2005 01:51:22 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ea6HI-0000eX-3L for emacs-devel@gnu.org; Thu, 10 Nov 2005 01:51:21 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ea6HH-0000e9-6S for emacs-devel@gnu.org; Thu, 10 Nov 2005 01:51:19 -0500 Original-Received: from [202.37.101.8] (helo=viper.snap.net.nz) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Ea6HF-0001ij-48; Thu, 10 Nov 2005 01:51:17 -0500 Original-Received: from kahikatea.snap.net.nz (p52-tnt1.snap.net.nz [202.124.110.52]) by viper.snap.net.nz (Postfix) with ESMTP id AAB2C731158; Thu, 10 Nov 2005 19:51:11 +1300 (NZDT) Original-Received: by kahikatea.snap.net.nz (Postfix, from userid 500) id 62BB183AE; Thu, 10 Nov 2005 19:51:31 +1300 (NZDT) Original-To: snogglethorpe@gmail.com, miles@gnu.org In-Reply-To: X-Mailer: VM 7.19 under Emacs 22.0.50.14 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:45667 Archived-At: > > It's come up at least twice before. I rarely debug two programs at the > > same time and when I do, I can do it with two instances of Emacs. > > This is OK as a temporary workaround before the release, but I think > it's unacceptable in the long term -- I, at least, want to debug > multiple programs routinely, and it's very inconvenient to juggle > multiple emacs sessions to do so. I can understand that it's not as ideal as working with one instance. Could you please explain, in practical terms, what makes it "very inconvenient". After the release, I want to migrate Emacs from using annotations to using GDB/MI, since this is the new interface for GDB and the GDB developers plan to obsolete annotations. I also want to help make GDB asynchronous so that front ends can be event driven rather than work by polling. I'm afraid that managing multiple debugging sessions is low down on my list of things to do... unless, of course, someone offers to pay me to do it! > > For those that > > need multiple debugging sessions there's a note in the Emacs manual to use > > "gdb -fullname" > > I recall that before gdba, this was the default; why was it changed? It wasn't changed. The mode that I've written is almost completely different to what was there before. If you only have rudimentary features, it's a lot easier to be general. Nick