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

Daniel Jacobowitz dan@codesourcery.com
Mon Mar 1 19:31:00 GMT 2010


On Mon, Mar 01, 2010 at 12:25:47PM -0700, Tom Tromey wrote:
> Personally, I think that, given the existing nl_langinfo code (and
> worse, Solaris hack) in _initialize_charset, it would be fine to add
> some Cygwin change here.  However, I won't approve a patch like that
> over Daniel's objections.

I don't mind hacks in general.  I do mind hacks that are going to
break my currently working builds.  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.

What do you suggest?

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb-patches mailing list