From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20925 invoked by alias); 8 Mar 2010 09:00:20 -0000 Received: (qmail 20914 invoked by uid 22791); 8 Mar 2010 09:00:19 -0000 X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from wp151.webpack.hosteurope.de (HELO wp151.webpack.hosteurope.de) (80.237.132.158) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 08 Mar 2010 09:00:15 +0000 Received: from 188-192-228-236-dynip.superkabel.de ([188.192.228.236] helo=[192.168.1.130]); authenticated by wp151.webpack.hosteurope.de running ExIM with esmtpa id 1NoYou-0002QH-Pc; Mon, 08 Mar 2010 10:00:12 +0100 Message-ID: <4B94BC31.3020109@technosis.de> Date: Mon, 08 Mar 2010 09:00:00 -0000 From: Anton Kunze User-Agent: Thunderbird 2.0.0.18 (X11/20081112) MIME-Version: 1.0 To: tromey@redhat.com CC: gdb@sourceware.org Subject: Re: Printing of strings with special characters References: <4B8F9FE9.2040401@technosis.de> <4B90C17B.8020001@technosis.de> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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: 2010-03/txt/msg00044.txt.bz2 Tom> This setting doesn't make sense. Hello Tom, I have found out that I must use "set charset ISO-8859-1". Otherwise my python pretty printer for QString doesn't works for strings with special characters. Without this charset setting I see an empty string, if I use this setting I see strings like this "h\366h\366h\366" . I'am using the python printers from kdevelop: http://websvn.kde.org/trunk/extragear/sdk/kdevelop/debuggers/gdb/printers/ Tom>Try again with "gdb -nx". If that doesn't work, then maybe there is a bug. In eclipse CDT I can't use gdb with argument '-nx' :-( best regards