Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: Joel Brobecker <brobecker@adacore.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [commit/Ada] delete ada-lang.c:extract_string and use target_read_string instead
Date: Thu, 16 Apr 2009 22:49:00 -0000	[thread overview]
Message-ID: <m3r5zs9puq.fsf@fleche.redhat.com> (raw)
In-Reply-To: <20090416224507.GM7585@adacore.com> (Joel Brobecker's message of "Thu\, 16 Apr 2009 15\:45\:07 -0700")

>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:

Joel> Yes, it is in ascii. Can I get away without doing a conversion, or
Joel> would it be better if I did? The string just contains a symbol name.

If it is always ascii then it is pretty safe as-is.  gdb assumes that
the host execution character set is ascii-compatible in several
places.  And, there is no validation or conversion of the character
set used in the debug info.  So, this isn't any worse than existing
situations :-)

Tom


  reply	other threads:[~2009-04-16 22:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-16 17:19 Joel Brobecker
2009-04-16 22:19 ` Tom Tromey
2009-04-16 22:45   ` Joel Brobecker
2009-04-16 22:49     ` Tom Tromey [this message]
2009-04-16 23:32       ` Joel Brobecker

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=m3r5zs9puq.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=brobecker@adacore.com \
    --cc=gdb-patches@sourceware.org \
    /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