This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On Mar  3 13:05, Daniel Jacobowitz wrote:
> 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.

You're right.  I re-read your original mail and it seems I misunderstood
what you were trying to say.  What I understood was that GetACP() is the
correct default value for Cygwin GDB independent of the recognition of
the target binary.  Apparently you didn't mean that.  Sorry for the
confusion.


Corinna

-- 
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]