Hi Tom and community members,

>>>>> Aditya Vidyadhar Kamath <akamath996@gmail.com> writes:

>>   This printed
>> L'\000\000a' for L'a', and GDB crashed with SIGSEGV on the following
>> print in gdb.base/wchar.exp.

>Does this mean if the user sets the wide charset they can provoke a gdb
>crash?  If so that seems like a bug worth fixing.

Yes we do get a crash. Thanks for asking. I am sending you another proposed patch to fix that. So now we have two patches. One this one related to AIX and the other related to the question you asked.

Have a nice day ahead.

Regards,
Aditya.