Python API - gdb.GdbError in convenience functions

Tom Tromey tromey@redhat.com
Fri Mar 4 21:22:00 GMT 2011


>>>>> "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



More information about the Gdb mailing list