From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11515 invoked by alias); 21 Apr 2008 17:19:22 -0000 Received: (qmail 11506 invoked by uid 22791); 21 Apr 2008 17:19:21 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 21 Apr 2008 17:19:02 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 043E2983DB; Mon, 21 Apr 2008 17:19:00 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id E39689829E; Mon, 21 Apr 2008 17:18:59 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1JnzfO-0003xS-JD; Mon, 21 Apr 2008 13:18:58 -0400 Date: Mon, 21 Apr 2008 18:33:00 -0000 From: Daniel Jacobowitz To: Jiju George T Cc: gdb@sourceware.org Subject: Re: Asynchronouse progress reporting from GDB Server to gdb using Remote Serial Protocol Message-ID: <20080421171858.GA14921@caradoc.them.org> Mail-Followup-To: Jiju George T , gdb@sourceware.org References: <00a201c8a3d0$25ea0d40$390aa8c0@ashmicro.ashling.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <00a201c8a3d0$25ea0d40$390aa8c0@ashmicro.ashling.com> User-Agent: Mutt/1.5.17 (2007-12-11) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-04/txt/msg00185.txt.bz2 On Mon, Apr 21, 2008 at 05:52:56PM +0100, Jiju George T wrote: > Hi, > >   We have a GDB Server which manages connections to embedded targets. We > have a monitor command for doing a lengthy operation on the target device. > We want to report the status of this lengthy operation back to gdb > periodically. Is there any support for this in GDB Remote Serial Protocol? Not yet. But Jim Blandy drafted a proposal for progress reporting last year, which I hope we will implement eventually. I don't think it was posted. For monitor commands, you could just send back an O packet with an informative message periodically. -- Daniel Jacobowitz CodeSourcery