From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id GARFF+cLR2JRVwAAWB0awg (envelope-from ) for ; Fri, 01 Apr 2022 10:27:51 -0400 Received: by simark.ca (Postfix, from userid 112) id 5D6E31F1F4; Fri, 1 Apr 2022 10:27:51 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.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 CC5791E150 for ; Fri, 1 Apr 2022 10:27:50 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 5B9AD38A2851 for ; Fri, 1 Apr 2022 14:27:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5B9AD38A2851 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1648823270; bh=1KPXO+KKGMbP/BAhMdkoNBbentwgq8A1Q2zWz6C21jY=; 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=Htz7Fbv1prRGBPjZFA+1xZspeOPxdIJbuVKErwguh2tOx0ikccYi7iIyEk2JV7pXP OMCMkXuf1fPEQA0YadAHr5oecdc0ldnCZhQBEhoobHGQJ9jl+2cB6jiJ/dWqcUSTBY mY70mkZMCp3Up062lt3OmKtWVewfruWFhpKpho54= Received: from eggs.gnu.org (eggs.gnu.org [209.51.188.92]) by sourceware.org (Postfix) with ESMTPS id 88A073945C36 for ; Fri, 1 Apr 2022 14:26:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 88A073945C36 Received: from [2001:470:142:3::e] (port=54466 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 1naIEo-0000QJ-Rd; Fri, 01 Apr 2022 10:26:54 -0400 Received: from [87.69.77.57] (port=2621 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 1naIEo-0001Nw-Bi; Fri, 01 Apr 2022 10:26:54 -0400 Date: Fri, 01 Apr 2022 17:27:06 +0300 Message-Id: <8335iw6fr9.fsf@gnu.org> To: Joel Brobecker In-Reply-To: (message from Joel Brobecker on Fri, 1 Apr 2022 07:12:06 -0700) Subject: Re: GDB 12.0.90 available for testing References: <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> <838rsp55nl.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: aburgess@redhat.com, gdb-patches@sourceware.org, pedro@palves.net Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" > Date: Fri, 1 Apr 2022 07:12:06 -0700 > From: Joel Brobecker > Cc: Joel Brobecker , aburgess@redhat.com, > pedro@palves.net, gdb-patches@sourceware.org > > > If this problem only happens with mingw.org's MinGW, I'm okay with > > having local workarounds. Although I'm puzzled how can that be, since > > both MinGW flavors are supposed to share the same runtime. Or do you > > build GDB against the UCRT (as opposed to MSVCRT) runtime? > > I don't know how to answer that question. Is that something > I can figure out from looking at how we configure the build > of MinGW-w64? It's enough (and simpler) to look at the DLLs on which the GDB executable on Windows depends, with this command: objdump -x gdb.exe | fgrep "DLL Name" Here's the output on my system: (standard input):72: DLL Name: ADVAPI32.DLL (standard input):82: DLL Name: libguile-2.0-22.dll (standard input):219: DLL Name: KERNEL32.dll (standard input):326: DLL Name: msvcrt.dll (standard input):353: DLL Name: msvcrt.dll (standard input):501: DLL Name: libncurses5.dll (standard input):578: DLL Name: libsource-highlight-4.dll (standard input):585: DLL Name: USER32.dll (standard input):594: DLL Name: WS2_32.dll (standard input):615: DLL Name: zlib1.dll (standard input):629: DLL Name: libgcc_s_dw2-1.dll (standard input):645: DLL Name: libstdc++-6.dll (standard input):736: DLL Name: python34.dll Note the two instances of msvcrt.dll -- this is the (traditional) MS C runtime library. If you see UCRT instead, it might explain the difference in our observations.