From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30954 invoked by alias); 5 Mar 2013 20:32:53 -0000 Received: (qmail 30945 invoked by uid 22791); 5 Mar 2013 20:32:51 -0000 X-SWARE-Spam-Status: No, hits=-6.3 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_SPAMHAUS_DROP,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 05 Mar 2013 20:32:41 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r25KWelL012843 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 5 Mar 2013 15:32:40 -0500 Received: from nbkamil.localnet (vpn1-4-114.ams2.redhat.com [10.36.4.114]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r25KWeS9010998 for ; Tue, 5 Mar 2013 15:32:40 -0500 From: Kamil Dudka To: gdb@sourceware.org Subject: need a way to disable/limit printing template arguments Date: Tue, 05 Mar 2013 20:32:00 -0000 Message-ID: <1559575.PHQ9WrXFk1@nbkamil> User-Agent: KMail/4.9.5 (Linux/3.5.7-gentoo; KDE/4.9.5; x86_64; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2013-03/txt/msg00001.txt.bz2 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 #include #include int main() { typedef boost::bimaps::multiset_of TMulti; typedef boost::bimap 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