From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25397 invoked by alias); 1 Oct 2012 19:14:31 -0000 Received: (qmail 25388 invoked by uid 22791); 1 Oct 2012 19:14:30 -0000 X-SWARE-Spam-Status: No, hits=-4.4 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout20.012.net.il (HELO mtaout20.012.net.il) (80.179.55.166) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 01 Oct 2012 19:14:25 +0000 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MB800700ANQW300@a-mtaout20.012.net.il> for gdb@sourceware.org; Mon, 01 Oct 2012 21:14:15 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MB8007F9ARRDOA0@a-mtaout20.012.net.il>; Mon, 01 Oct 2012 21:14:15 +0200 (IST) Date: Mon, 01 Oct 2012 19:14:00 -0000 From: Eli Zaretskii Subject: Re: Old OSes compatibility [Re: 64-bit (>4GB) inferior data types rules; TYPE_LENGTH: unsigned -> ULONGEST] In-reply-to: <5069DA6F.6070806@redhat.com> To: Pedro Alves Cc: jan.kratochvil@redhat.com, brobecker@adacore.com, gdb@sourceware.org, siddhesh@redhat.com Reply-to: Eli Zaretskii Message-id: <837graattd.fsf@gnu.org> References: <20120928173229.GA10406@host2.jankratochvil.net> <20120930165630.GA30746@adacore.com> <20121001164833.GA20592@host2.jankratochvil.net> <5069D06D.5070101@redhat.com> <83bogmay9z.fsf@gnu.org> <5069DA6F.6070806@redhat.com> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2012-10/txt/msg00016.txt.bz2 > Date: Mon, 01 Oct 2012 19:01:19 +0100 > From: Pedro Alves > CC: jan.kratochvil@redhat.com, brobecker@adacore.com, gdb@sourceware.org, > siddhesh@redhat.com > > In the old mingw sources copy I have here (2009), I see under > mingwex/stdio/ a printf.c file, which provides the __mingw_printf replacement. > The format conversion engine is in pformat.c, and it does implement '%z' > (look for "case 'z':"). > > See > for how to enable the replacements. E.g., #define _GNU_SOURCE > or __USE_MINGW_ANSI_STDIO to 1 should be enough (it defines printf to > __mingw_printf). In that case, perhaps GDB should use __USE_MINGW_ANSI_STDIO by default when building for MinGW. > I tried looking for the current sources, but the mingw.org frontpage has a news > item mentioning that the sources have moved to git, without giving a pointer to > where the repository is... Then, after wasting some minutes trying to find > a pointer (and failing; in the end google found it) > I found that http://sourceforge.net/projects/mingw/develop points > at "git clone git://mingw.git.sourceforge.net/gitroot/mingw/mingw", > but cloning that yields an empty repo. WTH? Is the project actively > trying to hide itself in some dark internet corner? I have quite recent sources here, and the feature is there. Thanks.