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