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: [RFC] Make string printing work on NetBSD (iconv issue)


> Paul> It clearly can't make matters worse, because any platform that
> doesn't
> Paul> have the codeset name "wchar_t" currently doesn't work at all.
> 
> I think it is worse in one sense, which is that the results can be
> incorrect with no warning.  In particular I believe this could happen
> on
> Solaris in some locales.
> 
> I do see your point though.  Completely failing is terrible.
> 
> Paul> NetBSD clearly is using UCS-4 for wchar_t, but it does not
define
> that
> Paul> symbol.
> 
> Bummer.
> 
> Yet another idea would be host-specific overrides for
> INTERMEDIATE_ENCODING.

That would also have the advantage of working right in cross builds.  I
think I'll rewrite the patch to do that, and make it specifically
override for NetBSD where the right answer is known.  That way people
familiar with other hosts can supply the corresponding override for
those systems.

	paul


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