From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id 599FE3858418 for ; Thu, 14 Apr 2022 13:50:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 599FE3858418 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60982) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nezs6-0005ET-OE; Thu, 14 Apr 2022 09:50:54 -0400 Received: from [87.69.77.57] (port=2030 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 1nezs6-0006ag-7n; Thu, 14 Apr 2022 09:50:54 -0400 Date: Thu, 14 Apr 2022 16:51:04 +0300 Message-Id: <83wnfr3h9z.fsf@gnu.org> From: Eli Zaretskii To: Tom Tromey Cc: gdb-patches@sourceware.org In-Reply-To: <87sfqf3iue.fsf@tromey.com> (message from Tom Tromey on Thu, 14 Apr 2022 07:17:13 -0600) Subject: Re: [PATCH 9/9] Use GetThreadDescription on Windows References: <20220413191756.1146768-1-tromey@adacore.com> <20220413191756.1146768-10-tromey@adacore.com> <834k2w4w3w.fsf@gnu.org> <8335ig44nm.fsf@gnu.org> <87sfqf3iue.fsf@tromey.com> X-Spam-Status: No, score=2.1 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: Thu, 14 Apr 2022 13:50:56 -0000 > From: Tom Tromey > Cc: tromey@adacore.com, gdb-patches@sourceware.org > Date: Thu, 14 Apr 2022 07:17:13 -0600 > > >>>>> "Eli" == Eli Zaretskii writes: > > >> AFAIK, wcstombs_s is only available since Vista, so I think we need a > >> configure-time test for that, and use wcstombs as fallback. > > Eli> On second thought, it should be a run-time test, so that the binary > Eli> doesn't depend too much on the system where it was built. Or maybe > Eli> just use wcstombs always? > > Yeah, I'm going to do that. > > Is pre-Vista support needed? I don't really know what versions of > Windows gdb is intended to support, but the web tells me that Vista > itself was de-supported by MS 5 years ago. So surely pre-Vista stuff > must be extra obsolete. Wikipedia says Vista is in use by 0.18% of PCs. MS obsoleted Vista, but whether and when we do is up to us. I think we still want to support XP, but maybe I'm wrong, or maybe people want to change that.