This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Python API - gdb.GdbError in convenience functions
- From: Michel METZGER <michel dot metzger at st dot com>
- To: "gdb at sourceware dot org" <gdb at sourceware dot org>
- Date: Fri, 4 Mar 2011 21:52:26 +0100
- Subject: Python API - gdb.GdbError in convenience functions
Hi,
I need to signal an error in a convenience functions and tried to raise a GdbError 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