From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.devel Subject: Re: gdb-ui can't handle mutiple debugging sessions Date: Mon, 13 Sep 2004 10:12:35 +1200 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <001001c49915$c144efe0$479460cb@h> References: Reply-To: Nick Roberts NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1095027890 1798 80.91.229.6 (12 Sep 2004 22:24:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 12 Sep 2004 22:24:50 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 13 00:24:33 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C6clt-0001OC-00 for ; Mon, 13 Sep 2004 00:24:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C6crN-0008EV-DQ for ged-emacs-devel@m.gmane.org; Sun, 12 Sep 2004 18:30:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C6crD-0008Dr-La for emacs-devel@gnu.org; Sun, 12 Sep 2004 18:30:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C6crB-0008DA-Hm for emacs-devel@gnu.org; Sun, 12 Sep 2004 18:30:02 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C6crB-0008D7-Ei for emacs-devel@gnu.org; Sun, 12 Sep 2004 18:30:01 -0400 Original-Received: from [202.0.58.20] (helo=linda-1.paradise.net.nz) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C6clS-00039Z-9G for emacs-devel@gnu.org; Sun, 12 Sep 2004 18:24:06 -0400 Original-Received: from smtp-1.paradise.net.nz (smtp-1b.paradise.net.nz [202.0.32.210]) by linda-1.paradise.net.nz (Paradise.net.nz) with ESMTP id <0I3Y008ZZ8W4RV@linda-1.paradise.net.nz> for emacs-devel@gnu.org; Mon, 13 Sep 2004 10:24:05 +1200 (NZST) Original-Received: from suzanne (203-96-148-71.apx1.paradise.net.nz [203.96.148.71]) by smtp-1.paradise.net.nz (Postfix) with SMTP id CCCC982E44; Mon, 13 Sep 2004 10:24:03 +1200 (NZST) Original-To: Andreas Schwab X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-Priority: 3 X-MSMail-priority: Normal 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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:27058 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:27058 > When trying to use two debugging sessions at the same time gdb-ui gets > completely confused. As soon as I start the second session all input is > sent to it, even when typed in the window of the first session. This is a > serious regression compared the old interface. Thats right, gdb-ui can only handle one debugging session at a time. Trying to run more seemed to require the code to be a lot more complex and at the time only one overlay arrow was available so, in any case the old interface didn't do it very well. I have always found the best way to run two debugging sessions at the same time is to run two versions of Emacs. Whats the problem with this approach? I don't see this as a serious regression and so far no-one else appears to (gdb-ui has been in CVS Emacs for almost two years now). If you can convince me otherwise or if others agree with you I will look at adding support for multiple sessions. However, I think this would be a major task which I could not complete till after the next release. Nick