This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]