Eric Botcazou wrote:
Debugging does.

I fail to see why, at least on SPARC, %o7 should be good enough.

You set a breakpoint at the return address assuming that you
will reach it when you finish the function.  On Sparc, if you
set it at the address in %o7, you will be setting the breakpoint
at the call instruction address, not the address where the
function will return.  Either you never hit that breakpoint,
or you hit it on a different iteration.

In any case, for Sparc, on entry to a function the CIE doesn't
even say that %o7 is the return address.

--
Michael Eager    [EMAIL PROTECTED]
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077

Reply via email to