Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* need a way to disable/limit printing template arguments
@ 2013-03-05 20:32 Kamil Dudka
  2013-03-12 15:52 ` Jan Kratochvil
  0 siblings, 1 reply; 2+ messages in thread
From: Kamil Dudka @ 2013-03-05 20:32 UTC (permalink / raw)
  To: gdb

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-03-12 15:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-05 20:32 need a way to disable/limit printing template arguments Kamil Dudka
2013-03-12 15:52 ` Jan Kratochvil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox