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 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