From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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> From: Eli Zaretskii To: aburgess@redhat.com CC: brobecker@adacore.com, gdb-patches@sourceware.org, pedro@palves.net 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-Spam-Status: No, score=1.7 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_BARRACUDACENTRAL, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.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: , X-List-Received-Date: Fri, 01 Apr 2022 11:24:58 -0000 > 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?