From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6907 invoked by alias); 28 Jun 2008 11:58:22 -0000 Received: (qmail 6896 invoked by uid 22791); 28 Jun 2008 11:58:22 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 28 Jun 2008 11:58:04 +0000 Received: (qmail 10418 invoked from network); 28 Jun 2008 11:58:02 -0000 Received: from unknown (HELO wind.local) (vladimir@127.0.0.2) by mail.codesourcery.com with ESMTPA; 28 Jun 2008 11:58:02 -0000 From: Vladimir Prus To: Daniel Jacobowitz Subject: Re: [MI/RFC] Emit ^running via observer. Date: Sat, 28 Jun 2008 16:35:00 -0000 User-Agent: KMail/1.9.9 Cc: Nick Roberts , gdb-patches@sources.redhat.com References: <200806140108.24047.vladimir@codesourcery.com> <20080626160309.GA17512@caradoc.them.org> <200806281443.57315.vladimir@codesourcery.com> In-Reply-To: <200806281443.57315.vladimir@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200806281558.02033.vladimir@codesourcery.com> 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/msg00537.txt.bz2 On Saturday 28 June 2008 14:43:56 Vladimir Prus wrote: > > ^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 > > The test expects (gdb) after *running. I don't actually understand how it can not be > output -- the command is handled by mi_execute_command, which prints prompts at the > end. Ah wait, except for this early exit path: > > if (args.action == EXECUTE_COMMAND_SUPPRESS_PROMPT) > /* The command is executing synchronously. Bail out early > suppressing the finished prompt. */ > return; > > and then: > > ==20541== Conditional jump or move depends on uninitialised value(s) > ==20541== at 0x80DCD38: mi_execute_command (mi-main.c:1138) > > I'll fix this shortly -- one way or another. Should be fixed now. Let me know if you continue to have test failures. - Volodya