This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [commit/Ada] delete ada-lang.c:extract_string and use target_read_string instead
>>>>> "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