This is the mail archive of the gdb@sources.redhat.com 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: displaying wchar_t in gdb



On Mon, 26 Nov 2001, Klaus-Georg Adams wrote:

> I am working on a large project in C++ which works entirely with wide
> strings and streams. Is there a way to display wchar_t in gdb similar
> to narrow strings?

The usual technique is to have in the application a function which can 
print such strings, and then call it from GDB using the "call" command.


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