From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: gdb-ui can't handle mutiple debugging sessions Date: Mon, 13 Sep 2004 01:32:57 +0200 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <001001c49915$c144efe0$479460cb@h> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1095032090 9780 80.91.229.6 (12 Sep 2004 23:34:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 12 Sep 2004 23:34:50 +0000 (UTC) Cc: Nick Roberts , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 13 01:34: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 1C6drd-0004Gy-00 for ; Mon, 13 Sep 2004 01:34:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C6dx7-00016Q-PN for ged-emacs-devel@m.gmane.org; Sun, 12 Sep 2004 19:40:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C6dwy-00015P-7j for emacs-devel@gnu.org; Sun, 12 Sep 2004 19:40:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C6dww-00014m-9I for emacs-devel@gnu.org; Sun, 12 Sep 2004 19:40:03 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C6dww-00014c-7R for emacs-devel@gnu.org; Sun, 12 Sep 2004 19:40:02 -0400 Original-Received: from [195.135.220.2] (helo=Cantor.suse.de) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1C6drO-0005rm-4W; Sun, 12 Sep 2004 19:34:18 -0400 Original-Received: from hermes.suse.de (hermes-ext.suse.de [195.135.221.8]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by Cantor.suse.de (Postfix) with ESMTP id 43CE5BD5887; Mon, 13 Sep 2004 01:32:58 +0200 (CEST) Original-To: Stefan X-Yow: Yow! Is this sexual intercourse yet?? Is it, huh, is it?? In-Reply-To: (Stefan's message of "Sun, 12 Sep 2004 18:49:04 -0400") User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:27061 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:27061 Stefan writes: >>> When trying to use two debugging sessions at the same time gdb-ui get= s >>> 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. T= rying >> 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 o= ld >> 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 do all my work in a single Emacs session. Having to start a new instance would mean not being able to share buffers and various history lists, for example. > Do multiple sessions still work (at least as well as before) if you use > `gdb --fullname'? Multiple sessions with --fullname also have some limitations, but they ar= e easily understood. For example, trying to set a breakpoint in a source file with C-x a SPC will send the command to the last active session, which is usually what you want, but not always. In general, it works quite well. Andreas. --=20 Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux AG, Maxfeldstra=DFe 5, 90409 N=FCrnberg, Germany Key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."