This is the mail archive of the
mailing list for the GDB project.
Re: Using STL containers with GDB
Eli Zaretskii a écrit :
Cc: Nick Roberts <firstname.lastname@example.org>, email@example.com
From: =?ISO-8859-1?Q?Vincent_B=E9nony?= <firstname.lastname@example.org>
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<int> *) pointer
Does it work if you quote the problematic parts, like this:
(gdb) p ('std::list<int>' *) pointer
I saw a trick like this somewhere, but sadly it doesn't work for me.