From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19194 invoked by alias); 14 Apr 2006 17:55:30 -0000 Received: (qmail 19153 invoked by uid 22791); 14 Apr 2006 17:55:30 -0000 X-Spam-Check-By: sourceware.org Received: from romy.inter.net.il (HELO romy.inter.net.il) (192.114.186.66) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 14 Apr 2006 17:55:27 +0000 Received: from HOME-C4E4A596F7 (IGLD-83-130-214-179.inter.net.il [83.130.214.179]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id DZD77834 (AUTH halo1); Fri, 14 Apr 2006 20:55:18 +0300 (IDT) Date: Fri, 14 Apr 2006 18:27:00 -0000 Message-Id: From: Eli Zaretskii To: "Jim Blandy" CC: gdb@sourceware.org In-reply-to: <8f2776cb0604141018h33e7954j2a85784d6e1ba5ba@mail.gmail.com> (jimb@red-bean.com) Subject: Re: printing wchar_t* Reply-to: Eli Zaretskii References: <200604141257.41690.ghost@cs.msu.su> <20060414130527.GA12955@nevyn.them.org> <20060414141640.GA14789@nevyn.them.org> <8f2776cb0604141018h33e7954j2a85784d6e1ba5ba@mail.gmail.com> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-04/txt/msg00201.txt.bz2 > Date: Fri, 14 Apr 2006 10:18:10 -0700 > From: "Jim Blandy" > > 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.