Re: RFC: next/finish/etc -vs- exceptions

Tom Tromey
2010-11-30T20:15:43Z

>>>>> "Tom" == Tom Tromey <tromey@redhat.com> writes:

>>> + add_continuation (tp, until_next_continuation, tp, NULL);

Jan> continuation_free_args is NULL here but I think the breakpoint
Jan> should get deleted even if there is some premature thread deletion.
Jan> But maybe just all the breakpoints specific for that thread
Jan> (clear_thread_inferior_resources) should be deleted which would
Jan> also solve this problem?

Tom> I will try to make a test case so I can see what actually happens in
Tom> this scenario. Thanks for pointing it out.

Good catch here, we were leaving around the exception breakpoints.
Calling delete_longjmp_breakpoint from clear_thread_inferior_resources
worked for me. I'm not 100% confident that this is the correct fix
though.

Tom