This is the mail archive of the java@gcc.gnu.org mailing list for the Java 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]

sysdep/i386/backtrace.h infinite loop?


Maybe a stupid question, but how can this loop in sysdep/i386/backtrace.h ever end:

register _Jv_uintptr_t *_ebp __asm__ ("ebp");
_Jv_uintptr_t rfp;
for (rfp = *_ebp; rfp; rfp = *(_Jv_uintptr_t *)rfp)
{
  // only read access for rfp
}

Maybe because "*(_Jv_uintptr_t *)rfp" is changing it, but I can't see how...


thanks Marco


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