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: printing wchar_t*


> Date: Fri, 14 Apr 2006 10:18:10 -0700
> From: "Jim Blandy" <jimb@red-bean.com>
> 
> I much prefer LVAL@@ to LVAL@0.

Agreed.

> I don't think it's worth complicating the syntax for searching for a
> zero terminator in order to allow one to search for an arbitrary
> terminator.

Then how will you find the zero terminator?  With wcslen?  That is
only good for wchar_t strings, not for arbitrary integer arrays.  And
I thought Daniel was suggesting something more general than just
wchar_t arrays.

> I think that will require more typing in the much more common case

??? What typing?  I suggested an additional command that will set the
terminator; after that, it's the same typing as with zero.


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