This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Python API - gdb.GdbError in convenience functions
- From: Tom Tromey <tromey at redhat dot com>
- To: Michel METZGER <michel dot metzger at st dot com>
- Cc: "gdb\ at sourceware dot org" <gdb at sourceware dot org>
- Date: Fri, 04 Mar 2011 14:22:47 -0700
- Subject: Re: Python API - gdb.GdbError in convenience functions
- References: <5B4CE209869C6A4797F5FAA0B348F0A0D9F167BA20@SAFEX1MAIL1.st.com>
>>>>> "Michel" == Michel METZGER <michel.metzger@st.com> writes:
Michel> I need to signal an error in a convenience functions and tried
Michel> to raise a GdbError exception. Unfortunately, contrary to the
Michel> behavior whit a command, the stack trace is displayed. Is it
Michel> the expected behavior ? Is there a way to abort the execution
Michel> of a command that calls a convenience function without a stack
Michel> trace ?
I think what you want sounds good. The only blocker is somebody
actually writing the patch.
Tom