This is the mail archive of the insight@sourceware.org mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Unwinding TCL stack


Doug Graham wrote:

The problem is that the TCL stack is not (always?) being unwound when
a GDB exception is thrown via throw_exception().

This is a big problem for Insight. The TCL stack can not be unwound safely with longjmp. Any gdb command run from insight should be using the wrapper function gdbtk_call_wrapper or have something in gdbtk-wrapper.c to prevent this from happening.


You need to find out what command is causing the longjmp/exception to jump interpreter frames.

Keith


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]