This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] defs.h: Define GDB_DEFAULT_TARGET_[WIDE_]CHARSET for Cygwin and MingW builds
On Wed, Mar 03, 2010 at 10:16:58PM +0200, Eli Zaretskii wrote:
> 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?
No, not quite - that has the problem I was just discussing with
Corinna. The ideal (and achievable) choice for a Cygwin debugger
running a non-Cygwin program is the system codeset. This is a common
scenario, at least for me; I do it all the time.
I can't promise when I'll get to it, not with a release coming up at
work, but if no one else does, I'll try to; this would be useful to
me.
--
Daniel Jacobowitz
CodeSourcery