From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15138 invoked by alias); 10 Apr 2014 15:01:04 -0000 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 Received: (qmail 15128 invoked by uid 89); 10 Apr 2014 15:01:03 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: mail.lvk.cs.msu.su Received: from lvk-gate.cs.msu.ru (HELO mail.lvk.cs.msu.su) (188.44.42.233) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Thu, 10 Apr 2014 15:01:01 +0000 Received: from mail.lvk.cs.msu.su (localhost.localdomain [127.0.0.1]) by mail.lvk.cs.msu.su (Postfix) with ESMTP id 3E11C70103C; Thu, 10 Apr 2014 19:00:55 +0400 (MSK) X-Spam-ASN: Received: from [192.168.0.111] (h86-62-88-129.ln.rinet.ru [86.62.88.129]) by mail.lvk.cs.msu.su (Postfix) with ESMTPSA id 159A1700FFF; Thu, 10 Apr 2014 19:00:55 +0400 (MSK) Message-ID: <5346B226.40209@cs.msu.su> Date: Thu, 10 Apr 2014 15:01:00 -0000 From: Vladimir Prus User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 Newsgroups: gmane.comp.gdb.devel To: Bob Rossi , GDB Development Subject: Re: MI async status output References: <20140409210803.GA3166@linux> In-Reply-To: <20140409210803.GA3166@linux> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-AV-Checked: ClamAV using ClamSMTP X-SW-Source: 2014-04/txt/msg00037.txt.bz2 On 10.04.2014 01:08, Bob Rossi wrote: > Hi, > > I'm writing unit tests for my MI parser and was trying to get > GDB to output some out of band, async records of type: > status-async-output. > > This type of output normally starts with a + according to the manual. > > The manual has a special note that says: > status-async-output contains on-going status information about the > progress of a slow operation. It can be discarded. All status output is > prefixed by ‘+’. > > I built gdb from git/master and ran the mi test suite and looked > at the gdb.log file that was created. Unless I'm missing it, I don't see > this type of output anywhere. > > Does this mean that GDB doesn't test this functionality? > Does anyone have a simple recipe for getting GDB to output some > async status output? Bob, I think the only case where "+" notification is used is load command with sufficiently big binary. See mi-main.c:mi_load_progress. I don't know whether it can be triggered without bare-metal target. - Volodya From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15648 invoked by alias); 10 Apr 2014 15:01:11 -0000 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 Received: (qmail 15600 invoked by uid 89); 10 Apr 2014 15:01:10 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: plane.gmane.org Received: from plane.gmane.org (HELO plane.gmane.org) (80.91.229.3) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Thu, 10 Apr 2014 15:01:08 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WYGTQ-00005U-Oj for gdb@sourceware.org; Thu, 10 Apr 2014 17:01:04 +0200 Received: from h86-62-88-129.ln.rinet.ru ([86.62.88.129]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 Apr 2014 17:01:04 +0200 Received: from ghost by h86-62-88-129.ln.rinet.ru with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 Apr 2014 17:01:04 +0200 To: gdb@sourceware.org From: Vladimir Prus Subject: Re: MI async status output Date: Thu, 10 Apr 2014 20:13:00 -0000 Message-ID: <5346B226.40209@cs.msu.su> References: <20140409210803.GA3166@linux> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 In-Reply-To: <20140409210803.GA3166@linux> X-IsSubscribed: yes X-SW-Source: 2014-04/txt/msg00038.txt.bz2 Message-ID: <20140410201300.qJ3MTiWvUt0hiA7VIX8gayK6_TEczE4dY4kqK5hNQhg@z> On 10.04.2014 01:08, Bob Rossi wrote: > Hi, > > I'm writing unit tests for my MI parser and was trying to get > GDB to output some out of band, async records of type: > status-async-output. > > This type of output normally starts with a + according to the manual. > > The manual has a special note that says: > status-async-output contains on-going status information about the > progress of a slow operation. It can be discarded. All status output is > prefixed by ‘+’. > > I built gdb from git/master and ran the mi test suite and looked > at the gdb.log file that was created. Unless I'm missing it, I don't see > this type of output anywhere. > > Does this mean that GDB doesn't test this functionality? > Does anyone have a simple recipe for getting GDB to output some > async status output? Bob, I think the only case where "+" notification is used is load command with sufficiently big binary. See mi-main.c:mi_load_progress. I don't know whether it can be triggered without bare-metal target. - Volodya