From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: Multiple debugging sessions Date: Fri, 11 Nov 2005 10:03:54 +0900 Message-ID: References: <87u0feb5b7.fsf@wigwam.deepwood.net> <871x2hck3a.fsf@cut.bc.hsia.telus.net> <17239.8445.256875.931159@kahikatea.snap.net.nz> <17266.60914.593789.221645@kahikatea.snap.net.nz> <17267.39821.548416.351709@kahikatea.snap.net.nz> Reply-To: snogglethorpe@gmail.com, miles@gnu.org NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1131671133 5145 80.91.229.2 (11 Nov 2005 01:05:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 11 Nov 2005 01:05:33 +0000 (UTC) Cc: emacs-devel@gnu.org, miles@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 11 02:05:31 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EaNKq-0002sr-2W for ged-emacs-devel@m.gmane.org; Fri, 11 Nov 2005 02:04:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EaNKp-00088a-E3 for ged-emacs-devel@m.gmane.org; Thu, 10 Nov 2005 20:04:07 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EaNKe-000864-IL for emacs-devel@gnu.org; Thu, 10 Nov 2005 20:03:56 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EaNKc-000842-Sr for emacs-devel@gnu.org; Thu, 10 Nov 2005 20:03:56 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EaNKc-00083r-NW for emacs-devel@gnu.org; Thu, 10 Nov 2005 20:03:54 -0500 Original-Received: from [64.233.184.201] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EaNKc-0007iN-EP for emacs-devel@gnu.org; Thu, 10 Nov 2005 20:03:54 -0500 Original-Received: by wproxy.gmail.com with SMTP id 69so1032508wri for ; Thu, 10 Nov 2005 17:03:54 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=HixbjTJlOIQ6lgkqfGG9BS2wIKDw6iytXAA0pJXpI6aKcINEeNhIz1uQ7iHZJ7KuupPrSAH6ury0CLKMrr/96q62bIopR2KHULjdKdElxNLSFMI+jbjr00Ikl6EacxSbCpgDb0PPlnklhfO3il5kbDAarIFMAyR/y8rliKoO7hM= Original-Received: by 10.54.63.20 with SMTP id l20mr540124wra; Thu, 10 Nov 2005 17:03:54 -0800 (PST) Original-Received: by 10.54.160.4 with HTTP; Thu, 10 Nov 2005 17:03:54 -0800 (PST) Original-To: Nick Roberts In-Reply-To: Content-Disposition: inline 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:45712 Archived-At: BTW, I should note that the behavior I'm complaining about is _not_ in the "hard case" where there's actual ambiguity. I'm talking about the simplest possible case, where you're debugging two completely different programs, which have no common source-file names, and you're mainly using gdb command-line functions -- relying on gdba only for e.g. showing breakpoint icons in the fringe. Even in this apparently easy case, there are very weird interactions between the gdb sessions. I understand that there might be greater difficulties in supporting a truly complicated scenario -- e.g. debugging the _same_ program multiple times simultaneously (or, due to the way gdb works, different programs with common source-file names), because there is actual ambiguity that must somehow be resolved -- but that's not what I'm really talking about. -Miles -- Do not taunt Happy Fun Ball.