libunwind-devel
[Top][All Lists]
Advanced

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

Re: [libunwind] Unwinding using the context passed to a signal handler (


From: David Mosberger
Subject: Re: [libunwind] Unwinding using the context passed to a signal handler (doesn't work)
Date: Thu, 25 Mar 2004 09:32:13 -0800

>>>>> On Thu, 25 Mar 2004 16:15:35 +0100, address@hidden (Matthieu Delahaye) 
>>>>> said:

  Matthieu> This is false. At the return of getcontext() b0 is still
  Matthieu> to 3. AFAIK, b0 should be restored by the callee [It is a
  Matthieu> scratch register, not a preserved].  The only garanty that
  Matthieu> b0 is to 7 is at the _entry_ of the function, and at the
  Matthieu> return.

Just nitpicking: b0 is not guaranteed to be restored at the return.
It's perfectly legal to return via another branch register.

        --david


reply via email to

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