From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24777 invoked by alias); 17 Dec 2009 13:13:44 -0000 Received: (qmail 24769 invoked by uid 22791); 17 Dec 2009 13:13:43 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 17 Dec 2009 13:13:38 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 0FC1410B95; Thu, 17 Dec 2009 13:13:35 +0000 (GMT) Received: from caradoc.them.org (209.195.188.212.nauticom.net [209.195.188.212]) by nan.false.org (Postfix) with ESMTP id A826710968; Thu, 17 Dec 2009 13:13:34 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1NLGAe-0003xB-PE; Thu, 17 Dec 2009 08:13:32 -0500 Date: Thu, 17 Dec 2009 13:13:00 -0000 From: Daniel Jacobowitz To: Vladimir Prus Cc: gdb-patches@sourceware.org Subject: Re: [MI, doc] flush output in -gdb-exit Message-ID: <20091217131332.GA15129@caradoc.them.org> Mail-Followup-To: Vladimir Prus , gdb-patches@sourceware.org References: <200912171046.03355.vladimir@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200912171046.03355.vladimir@codesourcery.com> User-Agent: Mutt/1.5.20 (2009-06-14) 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: 2009-12/txt/msg00226.txt.bz2 On Thu, Dec 17, 2009 at 10:46:03AM +0300, Vladimir Prus wrote: > > I've noticed that under frontend, -gdb-exit may "timeout", even though it sends "^exit" > immediately. There was a flush missing. This patch adds it, and clarifies that frontend > should wait for GDB to actually exit, not just acknoledge the request. > > OK? This is OK (with changelog), although I don't see why it's necessary - when we exit, shouldn't that flush stdout? -- Daniel Jacobowitz CodeSourcery