This is the mail archive of the
mailing list for the GCC project.
Re: How to insert dynamic code? (continued)
On Thu, Jul 13, 2006 at 05:06:25PM +0200, jacob navia wrote:
> >So, what happens when _Unwind_Find_registered_FDE is called? Does it
> >find the EH data you have registered?
> Yes but then it stops there instead of going upwards and finding the catch!
> It is as my insertion left the list of registered routines in a bad state.
> I will look again at this part (the registering part) and will try to
> find out what
> is going on.
It sounds to me more like it used your data, and then was left pointing
somewhere garbage, not to the next frame. That is, it sounds like
there's something wrong with your generated unwind tables. That's the
usual cause for unexpected end of stack.