From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1532 invoked by alias); 2 Dec 2008 17:37:59 -0000 Received: (qmail 1519 invoked by uid 22791); 2 Dec 2008 17:37:57 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 02 Dec 2008 17:37:22 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id mB2HbKEf026988 for ; Tue, 2 Dec 2008 12:37:20 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id mB2HbKpR005032 for ; Tue, 2 Dec 2008 12:37:20 -0500 Received: from opsy.redhat.com (vpn-12-162.rdu.redhat.com [10.11.12.162]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id mB2HbJRO019391; Tue, 2 Dec 2008 12:37:19 -0500 Received: by opsy.redhat.com (Postfix, from userid 500) id BAE4A50807B; Tue, 2 Dec 2008 10:37:18 -0700 (MST) To: =?utf-8?B?QW5kcsOpIFDDtm5pdHo=?= Cc: gdb@sources.redhat.com Subject: Re: std::string and MI References: <200811271339.03070.apoenitz@trolltech.com> From: Tom Tromey Reply-To: tromey@redhat.com Date: Tue, 02 Dec 2008 17:37:00 -0000 In-Reply-To: <200811271339.03070.apoenitz@trolltech.com> (=?utf-8?Q?=22And?= =?utf-8?Q?r=C3=A9_P=C3=B6nitz=22's?= message of "Thu\, 27 Nov 2008 13\:38\:56 +0100") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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-12/txt/msg00003.txt.bz2 >>>>> "Andr=C3=A9" =3D=3D Andr=C3=A9 P=C3=B6nitz w= rites: [...] Andr=C3=A9> In both cases the 'std::' namespace is missing from the type. Andr=C3=A9> As the "namespace foo" example above shows, this can't be the g= eneral Andr=C3=A9> problem with namespaces, as "foo::string" is reported as I expe= cted. Andr=C3=A9> Does anybody know how to tweak gdb's settings so that it produc= es the Andr=C3=A9> std:: namespace, too? I didn't look at this example, but in other cases where "whatis" printed something odd, I have tracked the problem down to weird debug info. You might take a look at that. IOW, it may not be gdb's decision. There's a GCC PR or two in this area. Tom