This is the mail archive of the gdb-patches@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: [RFA] defs.h: Define GDB_DEFAULT_TARGET_[WIDE_]CHARSET for Cygwin and MingW builds


> Date: Wed, 3 Mar 2010 14:39:37 -0500
> From: Daniel Jacobowitz <dan@codesourcery.com>
> 
> The issue of making GDB_OSABI_CYGWIN really mean Cygwin, as opposed
> to Windows, will be tricky - we've agreed on exactly how to do it,
> someone just has to convert the image search code to work with BFD
> somehow.  Or fread from the binary if that proves too frustrating
> :-)

It may be easier to have a simple emulation of nl_langinfo for MinGW.
Then both Cygwin and MinGW will call nl_langinfo, and each one will
get the value it wants.  Would that solve the problem?


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