From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 128386 invoked by alias); 15 Nov 2019 07:37:43 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 128373 invoked by uid 89); 15 Nov 2019 07:37:43 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-3.6 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: eggs.gnu.org Received: from eggs.gnu.org (HELO eggs.gnu.org) (209.51.188.92) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 15 Nov 2019 07:37:42 +0000 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40446) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iVWAm-0002fa-7l; Fri, 15 Nov 2019 02:37:40 -0500 Received: from [176.228.60.248] (port=1556 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iVWAl-0002E8-Im; Fri, 15 Nov 2019 02:37:39 -0500 Date: Fri, 15 Nov 2019 07:37:00 -0000 Message-Id: <83bltd4mkq.fsf@gnu.org> From: Eli Zaretskii To: Pedro Alves CC: simon.marchi@polymtl.ca, andrew.burgess@embecosm.com, tromey@sourceware.org, brobecker@adacore.com, kevinb@redhat.com, gdb-patches@sourceware.org In-reply-to: <214ef744-6497-d7fc-8374-413a552b456a@redhat.com> (message from Pedro Alves on Thu, 14 Nov 2019 20:37:15 +0000) Subject: Re: [pushed] gdb: Support printf 'z' size modifier References: <20191112235315.5BD6728171@gnutoolchain-gerrit.osci.io> <83y2wi62jp.fsf@gnu.org> <20191114164945.GP11037@embecosm.com> <83pnhu4co3.fsf@gnu.org> <4b637fa7-666c-4a80-8627-a6efefd6ec2a@polymtl.ca> <83mucy48lk.fsf@gnu.org> <214ef744-6497-d7fc-8374-413a552b456a@redhat.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-IsSubscribed: yes X-SW-Source: 2019-11/txt/msg00458.txt.bz2 > Cc: andrew.burgess@embecosm.com, tromey@sourceware.org, > brobecker@adacore.com, kevinb@redhat.com, gdb-patches@sourceware.org > From: Pedro Alves > Date: Thu, 14 Nov 2019 20:37:15 +0000 > > > The "new" way is to use the __MINGW_FEATURES__ macro. But if you want > > to do this in a way that will work with noth mingw.org's MinGW and > > MinGW64, the __USE_MINGW_ANSI_STDIO is the way, and it is still > > supported. > > > > I think that the ideal place to do that would be in src/config/mh-mingw, > so that all projects in the tree, plus gcc, enabled it. > It's where we do -D__USE_MINGW_ACCESS. That'd be fine, thanks.