gdb cannot understand some type with STL

jian shen vicshen@gmail.com
Sat Dec 22 10:35:00 GMT 2007


It doesn't work, but the error message is a little different.

(gdb) whatis std::list<int>
No symbol "list<int>" in namespace "std".
(gdb) whatis 'std::list<int>'
No symbol "std::list<int>" in current context.

On 12/22/07, Eli Zaretskii <eliz@gnu.org> wrote:
>
> Does it work to quote the argument of whatis?  Like this:
>
>  (gdb) whatis 'std::list<int>'
>



More information about the Gdb mailing list