This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Old OSes compatibility [Re: 64-bit (>4GB) inferior data types rules; TYPE_LENGTH: unsigned -> ULONGEST]


> Date: Mon, 01 Oct 2012 19:01:19 +0100
> From: Pedro Alves <palves@redhat.com>
> 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 <http://sourceforge.net/project/shownotes.php?release_id=24832>
> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]