From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id SJV+DKk0QGJoJgAAWB0awg (envelope-from ) for ; Sun, 27 Mar 2022 05:55:53 -0400 Received: by simark.ca (Postfix, from userid 112) id 20B461F3E0; Sun, 27 Mar 2022 05:55:53 -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 9DFAB1F0E7 for ; Sun, 27 Mar 2022 05:55:52 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 186C83858C2C for ; Sun, 27 Mar 2022 09:55:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 186C83858C2C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1648374952; bh=K0oNY9BTs18lDCugH6EGbjuh4d27egA65nMrEN3dBGw=; 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=jnH+K4Kd7Rs9qroIzclxx69/dkGvNDRbk3TUxv+2UY9vJH0QTl6aANGOhooCrSkFF 7FmW8Qdi1l8Z6mcq3BypKf2HjOgz77VaOZUHCJhw2x8Ntn8U2sswQXOLsU20Fq8aeq JBLLE/eJHa7cF6L5ATKWHy6YjLwy40y9tKtA0L5w= Received: from eggs.gnu.org (eggs.gnu.org [209.51.188.92]) by sourceware.org (Postfix) with ESMTPS id 1D2A13858C83 for ; Sun, 27 Mar 2022 09:55:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 1D2A13858C83 Received: from [2001:470:142:3::e] (port=41364 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 1nYPcS-0005og-59; Sun, 27 Mar 2022 05:55:32 -0400 Received: from [87.69.77.57] (port=1963 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 1nYPc2-0004K5-CH; Sun, 27 Mar 2022 05:55:19 -0400 Date: Sun, 27 Mar 2022 12:55:04 +0300 Message-Id: <83ee2nafev.fsf@gnu.org> To: brobecker@adacore.com In-Reply-To: <83pmm8a7gn.fsf@gnu.org> (message from Eli Zaretskii via Gdb-patches on Sat, 26 Mar 2022 21:34:32 +0300) Subject: Re: GDB 12.0.90 available for testing References: <20220320055815.2A90FA4D6C@takamaka.home> <83sfr4a93r.fsf@gnu.org> <83pmm8a7gn.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: gdb-patches@sourceware.org Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" > Date: Sat, 26 Mar 2022 21:34:32 +0300 > From: Eli Zaretskii via Gdb-patches > Cc: gdb-patches@sourceware.org > > And another problem: starting this GDB under Emacs, with "M-x gdb" > (which invokes "gdb -i=mi") seems to confuse Emacs, so much so that > the debugging session is barely usable: symbols are unknown, so I > cannot set breakpoints, etc. > > There's no such problem with GDB 11.1. > > I wonder if this is a Windows specific issue. Did someone try GDB 12 > inside Emacs on GNU/Linux, and if so, did it work as expected? Turns out this is also due to the same commit that modified gdb_readline_no_editing_callback to call setbuf on all streams and any number of times, which also caused the input breakage. See PR 29002 for the details and the proposed fix.