From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8045 invoked by alias); 17 Oct 2011 12:49:50 -0000 Received: (qmail 8033 invoked by uid 22791); 17 Oct 2011 12:49:49 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-vx0-f169.google.com (HELO mail-vx0-f169.google.com) (209.85.220.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 17 Oct 2011 12:49:23 +0000 Received: by vcbfk1 with SMTP id fk1so3022468vcb.0 for ; Mon, 17 Oct 2011 05:49:22 -0700 (PDT) Received: by 10.220.213.132 with SMTP id gw4mr1509578vcb.52.1318855762639; Mon, 17 Oct 2011 05:49:22 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.180.75 with HTTP; Mon, 17 Oct 2011 05:49:02 -0700 (PDT) In-Reply-To: References: From: Kevin Pouget Date: Mon, 17 Oct 2011 13:00:00 -0000 Message-ID: Subject: Re: [patch] PR python/12438 To: pmuldoon@redhat.com, Tom Tromey Cc: gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-10/txt/msg00462.txt.bz2 On Thu, Jun 30, 2011 at 11:37 AM, Phil Muldoon wrote: > > This patch addresses bug PR python/12438. =A0Mark - and other users - have > asked that maint set python print-stack is off by default. =A0This makes > sense to me, as while stack-traces are useful, they can impact > readability of GDB output. =A0Python developers can always turn it back on > again. Hello, I have a question regarding this patch, which was committed at the end of J= une, wouldn't GDB let the user know, one way or an other, that there was something wrong happened ? when you run a command, and see to "warning/error" message, you expect that everything went right, but that's not true when this flag is set, is it? I don't know if Python allows to do it, but i think it would be nice to see something like: > NameError: global name 'comp' is not define which is the last line of a python stacktrace Thanks, Kevin