This is the mail archive of the gdb@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: Using UTF-8 as host charset


>>>>> "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


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