From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18261 invoked by alias); 20 Mar 2010 07:46:59 -0000 Received: (qmail 18248 invoked by uid 22791); 20 Mar 2010 07:46:58 -0000 X-SWARE-Spam-Status: No, hits=-1.2 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 07:46:55 +0000 Received: by bwz25 with SMTP id 25so2358585bwz.8 for ; Sat, 20 Mar 2010 00:46:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.146.148 with SMTP id h20mr2563485bkv.185.1269071212250; Sat, 20 Mar 2010 00:46:52 -0700 (PDT) Date: Sat, 20 Mar 2010 07:46:00 -0000 Message-ID: <629542d41003200046k2c7b4d9erc530fa4140ead4f3@mail.gmail.com> Subject: printer exception lets -stack-list-locals fail From: Niko Sams To: gdb Content-Type: text/plain; charset=ISO-8859-1 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/msg00176.txt.bz2 Hi, Printing an uninitialized std::map results in an exception like Cannot access memory at address 0x6c894ce02464895c When calling -stack-list-locals and such an uninitialized std::map is in scope it fails with this exception. And this is not so good as there are no locals shown until the map is initialized. Would it be possible to catch the exception in command like -stack-list-locals and show the error per variable? thanks, Niko