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

Corinna Vinschen
2010-02-28T19:23:31Z

On Feb 28 20:59, Eli Zaretskii wrote:
> > Date: Sun, 28 Feb 2010 19:11:05 +0100
> > From: Corinna Vinschen <vinschen@redhat.com>
> >
> > #define GDB_DEFAULT_TARGET_CHARSET get_cp()
> >
> > char *
> > get_cp ()
> > {
> > char buf[32];
> >
> > snprintf (buf, 32, "CP%u", GetACP ());
> > }
> >
> > should do it, right?
>
> Yes, I think so.

Apparently not, see
http://sourceware.org/ml/gdb-patches/2010-02/msg00694.html

Corinna

--
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat