This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Default target wide character set
>>>>> "Alexey" == Alexey Feldgendler <alexeyf@opera.com> writes:
Tom> Yeah, look in c-lang.c for a call to lookup_typename with an argument of
Tom> "wchar_t". The resulting type can be queried for its attributes.
Alexey> What happens then no symbol table is available?
It just doesn't work. I think the user will get an error.
If this is an important failure mode, we could perhaps add a new flag to
print to mean "print as wchar_t", akin to the existing print/s.
Tom