Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Kamil Dudka <kdudka@redhat.com>
To: gdb@sourceware.org
Subject: need a way to disable/limit printing template arguments
Date: Tue, 05 Mar 2013 20:32:00 -0000	[thread overview]
Message-ID: <1559575.PHQ9WrXFk1@nbkamil> (raw)

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


             reply	other threads:[~2013-03-05 20:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-05 20:32 Kamil Dudka [this message]
2013-03-12 15:52 ` Jan Kratochvil

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1559575.PHQ9WrXFk1@nbkamil \
    --to=kdudka@redhat.com \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox