From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Welsh Duggan Newsgroups: gmane.emacs.devel Subject: Re: Simultaneous gdb session badness Date: Fri, 19 Aug 2005 00:59:03 -0400 Message-ID: <87br3u34ko.fsf@cs.cmu.edu> References: <87acjhzjq7.fsf@cs.cmu.edu> <17154.22690.842273.458639@farnswood.snap.net.nz> <87zmrfyffi.fsf@cs.cmu.edu> <17156.17099.88084.969378@farnswood.snap.net.nz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1124427927 3502 80.91.229.2 (19 Aug 2005 05:05:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 19 Aug 2005 05:05:27 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 19 07:05:25 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E5z2q-0007gv-Ti for ged-emacs-devel@m.gmane.org; Fri, 19 Aug 2005 07:03:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E5z6O-0001yj-Ep for ged-emacs-devel@m.gmane.org; Fri, 19 Aug 2005 01:07:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E5z52-0001OO-A6 for emacs-devel@gnu.org; Fri, 19 Aug 2005 01:06:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E5z50-0001NQ-I3 for emacs-devel@gnu.org; Fri, 19 Aug 2005 01:06:10 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E5z50-0001NL-EH for emacs-devel@gnu.org; Fri, 19 Aug 2005 01:06:10 -0400 Original-Received: from [205.201.10.244] (helo=maru) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1E5zED-0004aM-J2 for emacs-devel@gnu.org; Fri, 19 Aug 2005 01:15:42 -0400 Original-Received: from md5i by maru with local (Exim 4.52) id 1E5yy7-00080c-S4; Fri, 19 Aug 2005 00:59:03 -0400 Original-To: Nick Roberts In-Reply-To: <17156.17099.88084.969378@farnswood.snap.net.nz> (Nick Roberts's message of "Thu, 18 Aug 2005 20:11:55 +1200") User-Agent: Gnus/5.110004 (No Gnus v0.4) 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:42255 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:42255 Nick Roberts writes: > Michael Welsh Duggan writes: > > Yes, I see that now. It was not obvious from NEWS, so I didn't > > realize I needed to reread the gdb manual. (I remember reading the > > messages covering bits of this on emacs-devel now that you brought > > this up, but I obviously didn't read them closely enough.) > > The old behaviour has not changed. Perhaps NEWS should say that the new > behaviour is the default now. (The extract that I posted earlier was from > the Emacs manual and *not* the gdb manual. Which NEWS did you read?) I should have said the gdb section of the Emacs manual. > > More importantly though, if one cannot run multiple sessions without > > using --fullname, M-x gdb should not allow you to attempt to so. It > > would be much better for it to give an understandable error message > > letting the user know what is going on. > > Sure. The problem is that Emacs has to start running gdb and receive some > output before it knows whether its working in text mode or graphical mode. > Currently the GUD buffer is created before gdb is run. I would take that. It would catch the majority of cases, I think. You'd have to start two sessions at very nearly exactly the same time for the second to start before the first produced any output, I would think. -- Michael Welsh Duggan (md5i@cs.cmu.edu)