This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
canned functions
- From: jacques <jacqueslenormand at sympatico dot ca>
- Cc: gdb at sources dot redhat dot com
- Date: Fri, 04 Jul 2003 03:11:42 +0200
- Subject: canned functions
- References: <017601c341df$221aa5b0$0a02a8c0@scenix.com>
Hello,
I was wondering if it would be possible to identify a template class and
pretty print it. for examle, would it be possible to do: if ( whatis var
== "vector") call pretty_print_vector(var) (this code of course does not
work, since whatis returns "vector<int,something>" and not "vector") ?
--Jacques