need a way to disable/limit printing template arguments
Kamil Dudka
kdudka@redhat.com
Tue Mar 5 20:32:00 GMT 2013
Hello,
is there any way to disable or limit expansion of template arguments when
printing local variables in gdb?
Using 'info local' on the following program with the default configuration
produces ~300kB output for just one empty local variable:
#include <boost/bimap.hpp>
#include <boost/bimap/bimap.hpp>
#include <boost/bimap/multiset_of.hpp>
int main()
{
typedef boost::bimaps::multiset_of<int> TMulti;
typedef boost::bimap<TMulti, TMulti> TBiMap;
TBiMap biMap;
__asm__("INT3");
return 0;
}
I tried the options from info documentation (the Print Settings section)
to no avail. Is there any way to suppress the excessive output for this?
Thanks in advance!
Kamil
More information about the Gdb
mailing list