Generating DWARF CIE info

Michael Eager eager@eagercon.com
Sat Jun 9 22:35:00 GMT 2007


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	 eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077



More information about the Gcc mailing list