This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Generating DWARF CIE info


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]