Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Paul Koning" <Paul_Koning@Dell.com>
To: <tromey@redhat.com>
Cc: <gdb-patches@sourceware.org>
Subject: RE: [RFC] Make string printing work on NetBSD (iconv issue)
Date: Wed, 19 May 2010 15:25:00 -0000	[thread overview]
Message-ID: <D8CEBB6AE9D43848BD2220619A43F3265BD4B3@M31.equallogic.com> (raw)
In-Reply-To: <m3wrv09bi9.fsf@fleche.redhat.com>

That gnu.org webpage talks about FreeBSD which is a different OS, and
what it says may or may not apply to NetBSD.  I guess I will have to ask
about this, since looking at the newlib sources (which is what libc is
in NetBSD) only got me lost.

	paul

> -----Original Message-----
> From: Tom Tromey [mailto:tromey@redhat.com]
> Sent: Wednesday, May 19, 2010 11:07 AM
> To: Paul Koning
> Cc: gdb-patches@sourceware.org
> Subject: Re: [RFC] Make string printing work on NetBSD (iconv issue)
> 
> >>>>> "Paul" == Paul Koning <Paul_Koning@Dell.com> writes:
> 
> Paul> NetBSD clearly is using UCS-4 for wchar_t, but it does not
define
> that
> Paul> symbol.
> 
> I have been wondering about this again recently.
> 
> I dug through the NetBSD libc a little, looking for this, but I
> couldn't
> find it.  Then I ran across this page today:
> 
> 
> http://www.gnu.org/software/libunistring/manual/libunistring.html#The-
> wchar_005ft-mess
> 
> This claims that, like Solaris, NetBSD uses a locale-dependent wchar_t
> encoding.  If this is the case then disabling the wide character code
> is
> probably the simplest approach that will do something sensible for
you.
> 
> BTW, libunistring seems like a nice approach.  It is close to what I
> wish wchar_t support actually looked like.  I am tempted to say we
> should go that route, but of course that would mean adding another
> dependency :-(
> 
> Tom


  reply	other threads:[~2010-05-19 15:11 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-04 19:43 Paul Koning
2010-05-04 20:01 ` Andreas Schwab
2010-05-04 20:06   ` Paul Koning
2010-05-07 16:40 ` Tom Tromey
2010-05-07 17:26   ` Paul Koning
2010-05-07 22:46     ` Tom Tromey
2010-05-10 21:25       ` Paul Koning
2010-05-19 15:11     ` Tom Tromey
2010-05-19 15:25       ` Paul Koning [this message]
2010-05-19 15:30         ` Tom Tromey
2010-05-19 18:23           ` Paul Koning

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=D8CEBB6AE9D43848BD2220619A43F3265BD4B3@M31.equallogic.com \
    --to=paul_koning@dell.com \
    --cc=gdb-patches@sourceware.org \
    --cc=tromey@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox