This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Using STL containers with GDB
> Cc: Nick Roberts <nickrob@snap.net.nz>, gdb-patches@sourceware.org
> From: =?ISO-8859-1?Q?Vincent_B=E9nony?= <vbenony@nordnet.fr>
> 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
?