This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Offset ip value in MD_FALLBACK_FRAME_STATE_FOR on x86-linux
Andrew Haley wrote:
> The details are subtle. Look at the Java signal handlers in
> I'm not saying that the Java method is better than what you propose.
> However, if you're going to change the way this works, you have to
> look at how this will affect all targets, not just i386.
The initial idea was actually not to suggest changing things. I just didn't
know that Java was handling it that way, saw a problem for Ada, and the
unwinder's core initially appeared to me as a natural place to address it.
Adjusting in the signal handler indeed has a number of advantages too.
Will experiment a bit.
Thanks for your feedback.