From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30728 invoked by alias); 4 Mar 2011 20:53:37 -0000 Received: (qmail 30703 invoked by uid 22791); 4 Mar 2011 20:53:36 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00 X-Spam-Check-By: sourceware.org Received: from eu1sys200aog120.obsmtp.com (HELO eu1sys200aog120.obsmtp.com) (207.126.144.149) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 04 Mar 2011 20:53:32 +0000 Received: from source ([164.129.1.35]) (using TLSv1) by eu1sys200aob120.postini.com ([207.126.147.11]) with SMTP ID DSNKTXFRSMD5dudx9/807FlOSU/wKQeb8kXS@postini.com; Fri, 04 Mar 2011 20:53:31 UTC Received: from zeta.dmz-eu.st.com (ns2.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id B66915BE for ; Fri, 4 Mar 2011 20:52:18 +0000 (GMT) Received: from Webmail-eu.st.com (safex1hubcas4.st.com [10.75.90.69]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 5B1C74672 for ; Fri, 4 Mar 2011 20:52:18 +0000 (GMT) Received: from SAFEX1MAIL1.st.com ([10.75.90.1]) by Safex1hubcas4.st.com ([10.75.90.69]) with mapi; Fri, 4 Mar 2011 21:52:17 +0100 From: Michel METZGER To: "gdb@sourceware.org" Date: Fri, 04 Mar 2011 20:53:00 -0000 Subject: Python API - gdb.GdbError in convenience functions Message-ID: <5B4CE209869C6A4797F5FAA0B348F0A0D9F167BA20@SAFEX1MAIL1.st.com> x-cr-hashedpuzzle: AXej DGZw DdH7 Dkjz FxwZ GGde HJ7P Hg+a IeGn Ie9z JpMF KOJK Knhl Kt8u Kwlw Lt/8;1;ZwBkAGIAQABzAG8AdQByAGMAZQB3AGEAcgBlAC4AbwByAGcA;Sosha1_v1;7;{BA3EDD22-C67E-4876-B34E-64747FA9E775};bQBpAGMAaABlAGwALgBtAGUAdAB6AGcAZQByAEAAcwB0AC4AYwBvAG0A;Fri, 04 Mar 2011 20:52:27 GMT;UAB5AHQAaABvAG4AIABBAFAASQAgAC0AIABnAGQAYgAuAEcAZABiAEUAcgByAG8AcgAgAGkAbgAgAGMAbwBuAHYAZQBuAGkAZQBuAGMAZQAgAGYAdQBuAGMAdABpAG8AbgBzAA== x-cr-puzzleid: {BA3EDD22-C67E-4876-B34E-64747FA9E775} Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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: 2011-03/txt/msg00046.txt.bz2 Hi, I need to signal an error in a convenience functions and tried to raise a G= dbError exception. Unfortunately, contrary to the behavior whit a command, the stack trace is = displayed. Is it the expected behavior ? Is there a way to abort the execution of a command that calls a convenience= function without a stack trace ? Best regards, Michel Metzger