From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2340 invoked by alias); 20 Mar 2010 16:31:59 -0000 Received: (qmail 2326 invoked by uid 22791); 20 Mar 2010 16:31:58 -0000 X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40 X-Spam-Check-By: sourceware.org Received: from mail-bw0-f225.google.com (HELO mail-bw0-f225.google.com) (209.85.218.225) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 20 Mar 2010 16:31:52 +0000 Received: by bwz25 with SMTP id 25so2580200bwz.8 for ; Sat, 20 Mar 2010 09:31:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.133.27 with SMTP id d27mr1413384bkt.51.1269102709688; Sat, 20 Mar 2010 09:31:49 -0700 (PDT) In-Reply-To: References: <629542d41003200046k2c7b4d9erc530fa4140ead4f3@mail.gmail.com> Date: Sat, 20 Mar 2010 16:31:00 -0000 Message-ID: <629542d41003200931s59133a5dwbfb61a5648ea6731@mail.gmail.com> Subject: Re: printer exception lets -stack-list-locals fail From: Niko Sams To: tromey@redhat.com Cc: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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: 2010-03/txt/msg00179.txt.bz2 On Sat, Mar 20, 2010 at 17:18, Tom Tromey wrote: >>>>>> "Niko" =3D=3D 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. =A0Would you mind filing a bug report for > this in bugzilla? http://sourceware.org/bugzilla/show_bug.cgi?id=3D11407 thanks, Niko