public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: Mathias Kunter <mathiaskunter@gmail.com>
Cc: gdb@sourceware.org
Subject: Re: Using UTF-8 as host charset
Date: Mon, 05 Mar 2012 21:13:00 -0000	[thread overview]
Message-ID: <87mx7uvji9.fsf@fleche.redhat.com> (raw)
In-Reply-To: <4F5526F1.2010003@gmail.com> (Mathias Kunter's message of "Mon,	05 Mar 2012 21:49:53 +0100")

>>>>> "Mathias" == Mathias Kunter <mathiaskunter@gmail.com> writes:

Mathias> As long as GDB doesn't crash and still prints ASCII strings correctly,
Mathias> it won't concern us.

I think the failure mode would be something more like gdb making the
wrong decision about whether a character is "printable".  That is, I
think you could conceivably see weird output in some scenario.

I don't have an example at hand.  Maybe the concern is even just
theoretical.

Mathias> If GDB is generally stable with using UTF-8 as host charset,
Mathias> we'd do so.

I have run it that way every day for multiple years.

One problem is that if you have a gdb version that uses the phony iconv,
then it cannot handle UTF-8.  You can detect this at startup, though.

Tom

  reply	other threads:[~2012-03-05 21:13 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-03 16:34 Mathias Kunter
2012-03-05 16:13 ` Paul_Koning
2012-03-05 18:09   ` Tom Tromey
2012-03-05 18:11     ` Paul_Koning
2012-03-05 21:04       ` Tom Tromey
2012-03-05 16:41 ` Tom Tromey
2012-03-05 16:44   ` Pedro Alves
2012-03-05 20:51   ` Mathias Kunter
2012-03-05 21:13     ` Tom Tromey [this message]
2012-03-05 21:34       ` Mathias Kunter
2012-03-05 21:41         ` Tom Tromey
2012-03-05 22:23           ` Mathias Kunter

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=87mx7uvji9.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=gdb@sourceware.org \
    --cc=mathiaskunter@gmail.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).