From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4659 invoked by alias); 26 Jun 2008 16:03:33 -0000 Received: (qmail 4649 invoked by uid 22791); 26 Jun 2008 16:03:32 -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; Thu, 26 Jun 2008 16:03:13 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 6C9E498366; Thu, 26 Jun 2008 16:03:11 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id E78BE9835A; Thu, 26 Jun 2008 16:03:10 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1KBtwD-0005YG-1a; Thu, 26 Jun 2008 12:03:09 -0400 Date: Thu, 26 Jun 2008 19:34:00 -0000 From: Daniel Jacobowitz To: Vladimir Prus Cc: Nick Roberts , gdb-patches@sources.redhat.com Subject: Re: [MI/RFC] Emit ^running via observer. Message-ID: <20080626160309.GA17512@caradoc.them.org> Mail-Followup-To: Vladimir Prus , Nick Roberts , gdb-patches@sources.redhat.com References: <200806140108.24047.vladimir@codesourcery.com> <200806251835.08864.vladimir@codesourcery.com> <18531.2798.547630.806116@kahikatea.snap.net.nz> <200806261958.06374.vladimir@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200806261958.06374.vladimir@codesourcery.com> User-Agent: Mutt/1.5.17 (2008-05-11) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-06/txt/msg00483.txt.bz2 On Thu, Jun 26, 2008 at 07:58:05PM +0400, Vladimir Prus wrote: > On Thursday 26 June 2008 07:20:14 Nick Roberts wrote: > > > I've checked in the following, which differs from original by extra test > > > strictness. > > > > Thanks. > > > > > Further, I've converted mi-async.exp to use the helper > > > functions. Nick, as it stands now it does not seem that mi-async.exp tests > > > async behaviour at all -- it merely changes that we get ^running for CLI > > > commands, and we get that in both sync and async mode. Do you think it > > > worthwhile to rename the test or move its content somewhere else? > > > > The tests appear to fail now. > > Which tests? With unmodified CVS state, all MI tests pass for me both in sync > and async mode. But indeed, if I make mi-async.exp not force async mode, it > starts to fail.... Not for me. (gdb) start &"start\n" ~"Temporary breakpoint 1 at 0x400635: file /space/fsf/commit/src/gdb/testsuite/gdb.mi/basics.c, line 62.\n" ~"Starting program: /space/fsf/x86-64/commit-gdb/gdb/testsuite/gdb.mi/basics \n" =thread-created,id="1" ^running *running,thread-id="all" *stopped,reason="breakpoint-hit",disp="del",bkptno="1",thread-id="1",frame={addr="0x0000000000400635",func="main",args=[],file="/space/fsf/commit/src/gdb/testsuite/gdb.mi/basics.c",fullname="/space/fsf/commit/src/gdb/testsuite/gdb.mi/basics.c",line="62"} FAIL: gdb.mi/mi-async.exp: start: send mi_expect_stop: expecting: \*stopped,reason="breakpoint-hit",disp="del",bkptno="[0-9]+",thread-id="[0-9]+",frame={addr="0x[0-9A-Fa-f]+",func="main",args=\[\],file=".*.*basics.c",fullname="(/.*/|\\\\[^\\]+\\.+\\|\\[^\\].*\\|[a-zA-Z]:.*\\).*basics.c",line="62"} $ PASS: gdb.mi/mi-async.exp: start: stop -- Daniel Jacobowitz CodeSourcery