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

Daniel Jacobowitz
2010-03-03T19:39:45Z

On Wed, Mar 03, 2010 at 07:22:10PM +0100, Corinna Vinschen wrote:
> 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.

OK, whew. We're all on the same page then.

I think the next thing is for Tom to install his patch, which will
strictly improve the situation. The issue of making GDB_OSABI_CYGWIN
really mean Cygwin, as opposed to Windows, will be tricky - we've
agreed on exactly how to do it, someone just has to convert the image
search code to work with BFD somehow. Or fread from the binary if
that proves too frustrating :-)

--
Daniel Jacobowitz
CodeSourcery