[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libunwind] alloca()

From: David Mosberger
Subject: Re: [libunwind] alloca()
Date: Wed, 10 Dec 2003 10:18:32 -0800

>>>>> On Wed, 10 Dec 2003 09:46:56 -0800, Cary Coutant <address@hidden> said:

  >> Or do we just say that r42 contains the unmodified usp (see below)?

  Cary> Yes, you need to use UNW_DYN_SPILL_SP_REL to say that psp (previous 
  Cary> stack pointer) has been spilled to r42 at slot #2.

Actually, it should be UNW_DYN_SAVE_REG (SPILL_SP_REL is used when
something gets saved in the memory stack frame, at an sp-relative

  Cary> You also need to use UNW_DYN_POP_FRAMES to specify the slot
  Cary> where sp is restored to its original value here:

Agreed, that's an important point!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]