Add std::basic_string<char,...> and std::basic_ostringstream<char,...>.
commit908e07522006b3b5d7be2fd14d05602da4513908
authorJohannes Sixt <j6t@kdbg.org>
Fri, 21 Nov 2008 23:48:06 +0000 (22 00:48 +0100)
committerJohannes Sixt <j6t@kdbg.org>
Mon, 8 Dec 2008 21:27:17 +0000 (8 22:27 +0100)
tree0b114e570257ea9b93fcaa4f47a611eb2caf7a7c
parenteacfeb110fb3cd18b8e417bc460bb7b012ae8ea2
Add std::basic_string<char,...> and std::basic_ostringstream<char,...>.

If an automatic variable is of type std::string, then gdb says that it is
of type "string". However, if std::string is part of a nested type, then
gdb apparently cannot abbreviate the name to "string". With this addition
we can now display the string values of those nested values as well.

The situation with basic_ostringstream<> is slightly different: If an
automatic variable or parameter is defined with the typedefed name,
ostringstream, than gdb reports this short name; but if the template
instance name is used, gdb reports that.
kdbg/testprogs/std.cpp
kdbg/typetables/stdc++6.kdbgtt