From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 408YOVHhRmJzTQAAWB0awg (envelope-from ) for ; Fri, 01 Apr 2022 07:26:09 -0400 Received: by simark.ca (Postfix, from userid 112) id D9A3A1F1F4; Fri, 1 Apr 2022 07:26:09 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RDNS_DYNAMIC,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id BE5A91E150 for ; Fri, 1 Apr 2022 07:26:05 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 63EFB3945C28 for ; Fri, 1 Apr 2022 11:26:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 63EFB3945C28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1648812365; bh=UKHpoT1ySdzkEdZeQ+aauFUz2v9XVpqOQLHpAyt6Gzs=; h=Date:To:In-Reply-To:Subject:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=vPhqlrXx34Ot6E/7nS+Mof7+ci1aLmuSalD/6T6GIGYrkK1LtCFxjAlFoASimbuLH FoSszHEgpvr93w1ELicSXPvmO1xEaHmFdvTeefPXmwz+C05S6NjKKmw1oR2qcv1nZU nhjbtK25vhVheteU3MfrmYKCXGiAYDq+EYCaKZs0= Received: from eggs.gnu.org (eggs.gnu.org [209.51.188.92]) by sourceware.org (Postfix) with ESMTPS id 5D5C03945C28 for ; Fri, 1 Apr 2022 11:24:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 5D5C03945C28 Received: from [2001:470:142:3::e] (port=40196 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1naFOi-0002tt-PL; Fri, 01 Apr 2022 07:24:56 -0400 Received: from [87.69.77.57] (port=3208 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1naFOi-0005Yp-8k; Fri, 01 Apr 2022 07:24:56 -0400 Date: Fri, 01 Apr 2022 14:25:09 +0300 Message-Id: <83ee2h59m2.fsf@gnu.org> To: aburgess@redhat.com In-Reply-To: <83fsmx59wi.fsf@gnu.org> (message from Eli Zaretskii via Gdb-patches on Fri, 01 Apr 2022 14:18:53 +0300) Subject: Re: GDB 12.0.90 available for testing References: <20220320055815.2A90FA4D6C@takamaka.home> <83sfr4a93r.fsf@gnu.org> <83pmm8a7gn.fsf@gnu.org> <83o81sa6nu.fsf@gnu.org> <83ilrzap07.fsf@gnu.org> <83mth67i8m.fsf@gnu.org> <72ad3448-0ff0-f36c-d1f3-cc194c0503b8@palves.net> <83ee2i72vl.fsf@gnu.org> <87sfqx864d.fsf@redhat.com> <83fsmx59wi.fsf@gnu.org> X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Eli Zaretskii via Gdb-patches Reply-To: Eli Zaretskii Cc: pedro@palves.net, gdb-patches@sourceware.org, brobecker@adacore.com Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" > Date: Fri, 01 Apr 2022 14:18:53 +0300 > From: Eli Zaretskii via Gdb-patches > Cc: brobecker@adacore.com, gdb-patches@sourceware.org, pedro@palves.net > > Thanks, this fixes the case of using GDB from Emacs's gdb-mi.el > front-end. But if I invoke GDB from the shell prompt with the -i=mi > option, it still thinks I type "g\n" no matter what I actually type at > the prompt. > > So I guess there are problems with making the console input stream > unbuffered, at least on MS-Windows? Or maybe read_command_file shouldn't call setbuf for the same stream repeatedly, but only once?