From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.bugs Subject: Re: gud-mode --annotate=3 and synchronization problems Date: Fri, 31 Aug 2007 17:18:42 +1200 Message-ID: <18135.42162.830917.161715@kahikatea.snap.net.nz> References: <200708301558.l7UFw7nB027463@carp.cfmu.corp.eurocontrol.int> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1188537551 3669 80.91.229.12 (31 Aug 2007 05:19:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 31 Aug 2007 05:19:11 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: Pierre-Louis Escouflaire Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 31 07:19:08 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IQyuK-00069J-UK for geb-bug-gnu-emacs@m.gmane.org; Fri, 31 Aug 2007 07:19:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IQyuJ-00028k-PB for geb-bug-gnu-emacs@m.gmane.org; Fri, 31 Aug 2007 01:18:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IQyuG-00026l-Pt for bug-gnu-emacs@gnu.org; Fri, 31 Aug 2007 01:18:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IQyuC-00022P-Nu for bug-gnu-emacs@gnu.org; Fri, 31 Aug 2007 01:18:55 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IQyuC-00022E-EC for bug-gnu-emacs@gnu.org; Fri, 31 Aug 2007 01:18:52 -0400 Original-Received: from viper.snap.net.nz ([202.37.101.8]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IQyuB-0006lG-VN for bug-gnu-emacs@gnu.org; Fri, 31 Aug 2007 01:18:52 -0400 Original-Received: from kahikatea.snap.net.nz (21.60.255.123.dynamic.snap.net.nz [123.255.60.21]) by viper.snap.net.nz (Postfix) with ESMTP id 4C0723D9DED; Fri, 31 Aug 2007 17:18:45 +1200 (NZST) Original-Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id C9C698FC6D; Fri, 31 Aug 2007 17:18:43 +1200 (NZST) In-Reply-To: <200708301558.l7UFw7nB027463@carp.cfmu.corp.eurocontrol.int> X-Mailer: VM 7.19 under Emacs 23.0.50.1 X-Detected-Kernel: Linux 2.4-2.6 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:16468 Archived-At: > Typing commands before gdb is ready makes gud-mode confused. > Also note the command being repeated on quit using Ctrl-D (^D). I think this and your earlier bug report are consequences of the way input for GDB is queued using annotations. I have code for using MI which uses tokens rather than queues, so shouldn't have these problems, but it's not pretty and really needs GDB to work asynchronously. These changes are substantial, and I don't have approval for the those to GDB yet, so it's a work in progress and not a currently practical option. All I can really say, for the moment, is "Don't do that." which I realise is a bit weak. -- Nick http://www.inet.net.nz/~nickrob