From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30390 invoked by alias); 20 Mar 2010 16:18:54 -0000 Received: (qmail 30380 invoked by uid 22791); 20 Mar 2010 16:18:52 -0000 X-SWARE-Spam-Status: No, hits=-7.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,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; Sat, 20 Mar 2010 16:18:48 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o2KGIjT4011345 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 20 Mar 2010 12:18:45 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o2KGIjG8000614; Sat, 20 Mar 2010 12:18:45 -0400 Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id o2KGIiuD026234; Sat, 20 Mar 2010 12:18:44 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id 56C49379848; Sat, 20 Mar 2010 10:18:44 -0600 (MDT) From: Tom Tromey To: Niko Sams Cc: gdb Subject: Re: printer exception lets -stack-list-locals fail References: <629542d41003200046k2c7b4d9erc530fa4140ead4f3@mail.gmail.com> Reply-To: tromey@redhat.com Date: Sat, 20 Mar 2010 16:18:00 -0000 In-Reply-To: <629542d41003200046k2c7b4d9erc530fa4140ead4f3@mail.gmail.com> (Niko Sams's message of "Sat, 20 Mar 2010 08:46:51 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: 2010-03/txt/msg00178.txt.bz2 >>>>> "Niko" == Niko Sams writes: Niko> When calling -stack-list-locals and such an uninitialized std::map is Niko> in scope it fails with this exception. Niko> And this is not so good as there are no locals shown until the map is Niko> initialized. Niko> Would it be possible to catch the exception in command like Niko> -stack-list-locals and show the error per variable? This sounds reasonable to me. Would you mind filing a bug report for this in bugzilla? Tom