This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
need a way to disable/limit printing template arguments
- From: Kamil Dudka <kdudka at redhat dot com>
- To: gdb at sourceware dot org
- Date: Tue, 05 Mar 2013 21:30:04 +0100
- Subject: need a way to disable/limit printing template arguments
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