From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18040 invoked by alias); 17 Mar 2009 22:05:02 -0000 Received: (qmail 17989 invoked by uid 22791); 17 Mar 2009 22:05:01 -0000 X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout7.012.net.il (HELO mtaout7.012.net.il) (84.95.2.19) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 17 Mar 2009 22:04:52 +0000 Received: from conversion-daemon.i-mtaout7.012.net.il by i-mtaout7.012.net.il (HyperSendmail v2007.08) id <0KGO000007ZMVK00@i-mtaout7.012.net.il> for gdb-patches@sourceware.org; Wed, 18 Mar 2009 00:05:01 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.127.23.114]) by i-mtaout7.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KGO00KFG80C7KJ0@i-mtaout7.012.net.il>; Wed, 18 Mar 2009 00:05:01 +0200 (IST) Date: Tue, 17 Mar 2009 22:12:00 -0000 From: Eli Zaretskii Subject: Re: [PATCH] PR exp/9103 In-reply-to: To: Tom Tromey Cc: mark.kettenis@xs4all.nl, brobecker@adacore.com, bauerman@br.ibm.com, andreolb@gmail.com, gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: References: <20090311153711.GA5197@caradoc.them.org> <1236803010.11106.50.camel@localhost.localdomain> <20090313232515.GD30693@adacore.com> <200903132337.n2DNb26P011841@brahms.sibelius.xs4all.nl> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-03/txt/msg00339.txt.bz2 > Cc: brobecker@adacore.com, bauerman@br.ibm.com, andreolb@gmail.com, gdb-patches@sourceware.org > From: Tom Tromey > Date: Tue, 17 Mar 2009 14:01:23 -0600 > > *** Changes since GDB 6.8 > > +* GDB now has support for multi-byte and wide character sets on the > +target. Strings whose character type is wchar_t, char16_t, or > +char32_t are now correctly printed. GDB supports wide- and unicode- > +literals in C, that is, L'x', L"string", u'x', u"string", U'x', and > +U"string" syntax. And, GDB allows the "%ls" and "%lc" formats in > +`printf'. > + > * GDB now supports automatic retrieval of shared library files from > remote targets. To use this feature, specify a system root that begins > with the `remote:' prefix, either via the `set sysroot' command or via > @@ -182,6 +189,11 @@ set target-async > with GDB while the target is running. "show target-async" displays the > current state of asynchronous execution of the target. > > +set target-wide-charset > +show target-wide-charset > + The target-wide-charset is the name of the character set that GDB > + uses when printing characters whose type is wchar_t. > + This text is okay, but I think we should mention that libiconv is required for a _real_ support of these features. > diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo > index 5b3c50b..7a49aea 100644 > --- a/gdb/doc/gdb.texinfo > +++ b/gdb/doc/gdb.texinfo This part is OK, thanks.