From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: gdb fails to flush output (msys2) Date: Tue, 15 Mar 2022 18:47:02 +0200 Message-ID: <83ilsfi2nt.fsf@gnu.org> References: <86y21caikh.fsf@csic.es> <83o828k6a7.fsf@gnu.org> <867d8wa05w.fsf@csic.es> <837d8wjsur.fsf@gnu.org> <834k40js23.fsf@gnu.org> <86h77zwn9b.fsf@csic.es> <77bec550-18e8-bcb9-0d32-b023f01eb3a4@secure.kjonigsen.net> <86y21btklc.fsf@csic.es> <86ee33l4rj.fsf@csic.es> <83lexbi8tj.fsf@gnu.org> <865yofb7nq.fsf@csic.es> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2621"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Juan =?utf-8?Q?Jos=C3=A9_Garc=C3=ADa-Ripoll?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Mar 15 17:48:50 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nUALp-0000TD-S7 for ged-emacs-devel@m.gmane-mx.org; Tue, 15 Mar 2022 17:48:50 +0100 Original-Received: from localhost ([::1]:59136 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nUALo-0006mK-Fw for ged-emacs-devel@m.gmane-mx.org; Tue, 15 Mar 2022 12:48:48 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:57230) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nUAKG-0005oT-Dk for emacs-devel@gnu.org; Tue, 15 Mar 2022 12:47:12 -0400 Original-Received: from [2001:470:142:3::e] (port=42020 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 1nUAKG-0004WH-3C; Tue, 15 Mar 2022 12:47:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=ea79VyEdYHGUa1X3MvOVVdl12qhU3shFuiCTNHp5q6w=; b=fLyFnilY9OlRb+i6yffo ox8e/YPbCgE7QIJ/GfDh2qTZebx58/tG7HMEqubTWAiwZWP++5F/i1floZ6Y8joPOMxR32eEIk0Xf lkiI1N9XnHSwxe8JljZtbJ/A5/6bF1h3iNe6DFPQbndYW0PEClBLDojVjZD5vhqBHXXkZWjX4nIWP tSPWB39BuGEkijqNOnIWj2cX6OPGkiIWPf1WKmko/cNSHBPJ9svy8lQIkcHflD+ku2N+0lZ4/BFDP GhTtiYJA3Rhxj79itOnjQZwXr98BzG5lMxybZMRlorE1WIvbr2gW89/6dXjh0/3CGMIGfAnH8cgR5 WmHGBUtNT1sggA==; Original-Received: from [87.69.77.57] (port=3396 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 1nUAKF-0008CZ-Fy; Tue, 15 Mar 2022 12:47:11 -0400 In-Reply-To: <865yofb7nq.fsf@csic.es> (juanjose.garciaripoll@gmail.com) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:287197 Archived-At: > From: Juan José García-Ripoll > > Date: Tue, 15 Mar 2022 15:40:57 +0100 > > Eli Zaretskii writes: > > You didn't answer my question about where you downloaded this GDB. Is > > this the "usual" MSYS2 GDB, and if so, is it linked against UCRT or > > the "normal" MSVCRT runtime? > > I have used both the UCRT and MSVCRT runtimes, provided in > c:/msys64/ucrt64/bin/gdb.exe and c:/msys64/mingw64/bin/gdb.exe They are > downloaded from the MSYS2 terminal using pacman, so I assume they are > from the standard repositories. And they both exhibit the same problematic behavior? But actually the problematic behavior is of the program you are debugging, right? Is that one linked against UCRT or MSVCRT?