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

Eli Zaretskii
2010-03-01T20:44:50Z

> Date: Mon, 1 Mar 2010 14:31:31 -0500
> From: Daniel Jacobowitz <dan@codesourcery.com>
> Cc: gdb-patches@sourceware.org
>
> If you build an i686-mingw32 to arm-linux debugger, and suddenly
> that defaults to UTF-16 instead of UCS-4, then I've got a problem.

The same is true in the other direction.

It sounds like, for cross debugging, the only fair default is ASCII.
That way, each user will have to set the right target charset, and no
one will feel they are children of a lesser god.

But for native Windows debugging what Corinna suggests is just about
right, I think.