From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30589 invoked by alias); 23 Apr 2008 06:49:17 -0000 Received: (qmail 30581 invoked by uid 22791); 23 Apr 2008 06:49:17 -0000 X-Spam-Check-By: sourceware.org Received: from smtp3-g19.free.fr (HELO smtp3-g19.free.fr) (212.27.42.29) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 23 Apr 2008 06:48:57 +0000 Received: from smtp3-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp3-g19.free.fr (Postfix) with ESMTP id 5EF3817B577; Wed, 23 Apr 2008 08:48:55 +0200 (CEST) Received: from localhost.localdomain (asc59-1-82-237-39-76.fbx.proxad.net [82.237.39.76]) by smtp3-g19.free.fr (Postfix) with ESMTP id 0894717B572; Wed, 23 Apr 2008 08:48:54 +0200 (CEST) Message-ID: <480EDBB2.8030206@nordnet.fr> Date: Wed, 23 Apr 2008 09:29:00 -0000 From: BENONY Vincent User-Agent: Thunderbird 2.0.0.12 (X11/20080226) MIME-Version: 1.0 To: Eli Zaretskii CC: drow@false.org, nickrob@snap.net.nz, gdb-patches@sourceware.org Subject: Re: Using STL containers with GDB References: <1208857199.6213.15.camel@bsr-desktop> <18446.23053.860176.935315@kahikatea.snap.net.nz> <20080422215146.GA3156@caradoc.them.org> In-Reply-To: OpenPGP: id=4FEB0E15; url=http://www.lifl.fr/~benony/pgp.php Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit 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: 2008-04/txt/msg00503.txt.bz2 Eli Zaretskii a écrit : >> Cc: Nick Roberts , gdb-patches@sourceware.org >> From: =?ISO-8859-1?Q?Vincent_B=E9nony?= >> Date: Wed, 23 Apr 2008 07:48:22 +0200 >> >> I mean GDB parser was able to parse a expression like >> >> (gdb) p (struct Something*) pointer >> >> but not something like >> >> (gdb) p (std::list *) pointer > > Does it work if you quote the problematic parts, like this: > > (gdb) p ('std::list' *) pointer > > ? > I saw a trick like this somewhere, but sadly it doesn't work for me.