* Python API - gdb.GdbError in convenience functions
@ 2011-03-04 20:53 Michel METZGER
2011-03-04 21:22 ` Tom Tromey
0 siblings, 1 reply; 2+ messages in thread
From: Michel METZGER @ 2011-03-04 20:53 UTC (permalink / raw)
To: gdb
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Python API - gdb.GdbError in convenience functions
2011-03-04 20:53 Python API - gdb.GdbError in convenience functions Michel METZGER
@ 2011-03-04 21:22 ` Tom Tromey
0 siblings, 0 replies; 2+ messages in thread
From: Tom Tromey @ 2011-03-04 21:22 UTC (permalink / raw)
To: Michel METZGER; +Cc: gdb
>>>>> "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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-03-04 21:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-04 20:53 Python API - gdb.GdbError in convenience functions Michel METZGER
2011-03-04 21:22 ` Tom Tromey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox