From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32549 invoked by alias); 15 Oct 2010 03:55:11 -0000 Received: (qmail 32541 invoked by uid 22791); 15 Oct 2010 03:55:10 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mail-pv0-f169.google.com (HELO mail-pv0-f169.google.com) (74.125.83.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 15 Oct 2010 03:55:06 +0000 Received: by pvf33 with SMTP id 33so103222pvf.0 for ; Thu, 14 Oct 2010 20:55:04 -0700 (PDT) Received: by 10.142.239.14 with SMTP id m14mr151427wfh.131.1287114900927; Thu, 14 Oct 2010 20:55:00 -0700 (PDT) Received: from [172.16.146.254] ([60.12.143.21]) by mx.google.com with ESMTPS id e14sm8420396wfg.20.2010.10.14.20.54.58 (version=SSLv3 cipher=RC4-MD5); Thu, 14 Oct 2010 20:54:59 -0700 (PDT) Message-ID: <4CB7CFB0.2050907@gmail.com> Date: Fri, 15 Oct 2010 03:55:00 -0000 From: asmwarrior User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081209 Thunderbird/2.0.0.19 Mnenhy/0.7.6.0 MIME-Version: 1.0 To: =?UTF-8?B?QW5kcsOpIFDDtm5pdHo=?= CC: "gdb@sourceware.org" Subject: Re: gdb with python support still get crash on showing uninitialized local variables References: <4CB66700.3000907@gmail.com> <201010142029.24092.andre.poenitz@nokia.com> In-Reply-To: <201010142029.24092.andre.poenitz@nokia.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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-10/txt/msg00050.txt.bz2 thanks for the reply. On 2010-10-15 2:29, André Pönitz wrote: > I'll take that direct CC: to me as a hint that I should comment. Not sure > this is a good idea, but here we go: I'm Sorry for the inconvience. > Works fine for me using Qt Creator on Linux, gdb 7.1, 7.2 and recent CVS, > including (our non-gdb) Python based pretty printing.' Aha, Seems gdb works better in Linux system than Windows. > This looks like gdb's own pretty printers could make more use of > try/except and perhaps a few sanity checks on the contents. > Printing "std::vector of length -37952" does not make much sense. fully agree, Hopefully the GDB gurus can fix it. Asmwarrior