From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13236 invoked by alias); 15 Aug 2008 15:02:24 -0000 Received: (qmail 13167 invoked by uid 22791); 15 Aug 2008 15:02:21 -0000 X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.33.17) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 15 Aug 2008 15:01:32 +0000 Received: from zps36.corp.google.com (zps36.corp.google.com [172.25.146.36]) by smtp-out.google.com with ESMTP id m7FF1QWW018865 for ; Fri, 15 Aug 2008 16:01:27 +0100 Received: from yx-out-1718.google.com (yxi3.prod.google.com [10.190.3.3]) by zps36.corp.google.com with ESMTP id m7FF1PjC003863 for ; Fri, 15 Aug 2008 08:01:25 -0700 Received: by yx-out-1718.google.com with SMTP id 3so598610yxi.52 for ; Fri, 15 Aug 2008 08:01:25 -0700 (PDT) Received: by 10.114.134.20 with SMTP id h20mr2621766wad.91.1218812485056; Fri, 15 Aug 2008 08:01:25 -0700 (PDT) Received: by 10.114.122.10 with HTTP; Fri, 15 Aug 2008 08:01:25 -0700 (PDT) Message-ID: <8ac60eac0808150801n1de25cc2mb6b438b1e262c91b@mail.gmail.com> Date: Fri, 15 Aug 2008 20:04:00 -0000 From: "Paul Pluzhnikov" To: "Fredrik Orderud" Subject: Re: Display content of unicode std::wstring objects Cc: gdb@sourceware.org In-Reply-To: <8DAABA4DED90428A886BEAEBD9C8AFCB@Orderud> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <8DAABA4DED90428A886BEAEBD9C8AFCB@Orderud> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-08/txt/msg00189.txt.bz2 On Fri, Aug 15, 2008 at 6:12 AM, Fredrik Orderud wrote: > Is there any in-build support for displaying the content of C++ STL unicode > text-strings in gdb? No, but Python scripting work (happening right now) is supposed to address this. In the mean time, you may want to try this patch: http://sourceware.org/ml/gdb-patches/2008-08/msg00167.html It claims to allow this: (gdb) p z (std::wstring) L"This is a wide string." Cheers, -- Paul Pluzhnikov