From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15116 invoked by alias); 22 Nov 2005 20:15:07 -0000 Received: (qmail 15093 invoked by uid 22791); 22 Nov 2005 20:15:06 -0000 X-Spam-Check-By: sourceware.org Received: from viper.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.8) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 22 Nov 2005 20:15:04 +0000 Received: from kahikatea.snap.net.nz (p167-tnt2.snap.net.nz [202.124.108.167]) by viper.snap.net.nz (Postfix) with ESMTP id 4BEBD731194; Wed, 23 Nov 2005 09:14:59 +1300 (NZDT) Received: by kahikatea.snap.net.nz (Postfix, from userid 500) id 08CBE8425; Wed, 23 Nov 2005 09:15:01 +1300 (NZDT) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17283.31813.149904.894253@kahikatea.snap.net.nz> Date: Tue, 22 Nov 2005 20:39:00 -0000 To: Vladimir Prus Cc: gdb@sources.redhat.com Subject: Re: MI: asynchronous operation details In-Reply-To: <200511221711.58694.ghost@cs.msu.su> References: <200511221649.23598.ghost@cs.msu.su> <20051122140013.GB21354@white> <200511221711.58694.ghost@cs.msu.su> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2005-11/txt/msg00501.txt.bz2 > continue/next/nexti/step/stepi/unti/finish. So, it still looks like > "-exec-interrupt" is the only command that can be meaningfully issued while > inferior is running. Rather than discuss the possible benefits of asynchronous operation in an abstract manner, I suggest that you integrate as much of MI into your front-end (kdevelop?) to find out the limitations. These limitations can then be discussed within a context. In Emacs, Richard Stallman has stated that any front-end fro GDB must keep the GUD buffer. This is used to enter CLI commands. I have found that the best way to get CLI commands to work well with MI is through asynchronous operation. Apple have already done this with their version of GDB and you can see it in action by installing a copy of Opendarwin. I believe that Daniel J is interested in asynchronous operation for scripting, but until you see a need for it for your purposes, I see little point in debating its merits or lack of them. Nick