Re: [RFA] defs.h: Define GDB_DEFAULT_TARGET_[WIDE_]CHARSET for Cygwin and MingW builds

Daniel Jacobowitz
2010-03-03T18:05:20Z

On Wed, Mar 03, 2010 at 07:00:44PM +0100, Corinna Vinschen wrote:
> I didn't say anything against doing it right. But this:
>
> > At this point, I think it's correct to call GetACP even for
> > a Cygwin GDB.
>
> is *not* right.

Can you explain it to me? This would only happen when we've
established that the application we're debugging is not linked to the
Cygwin DLL. Cygwin's nl_langinfo (CODESET) won't have any effect on a
non-Cygwin application.

--
Daniel Jacobowitz
CodeSourcery