libunwind-devel
[Top][All Lists]
Advanced

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

Re: [Libunwind-devel] Explicitly exporting CFA


From: Arun Sharma
Subject: Re: [Libunwind-devel] Explicitly exporting CFA
Date: Tue, 8 Jan 2008 10:49:23 -0800

On Jan 8, 2008 6:59 AM, Andrew Cagney <address@hidden> wrote:
1.98c worth:

- the "CFA" value is from the frame inner to cursor
can I suggest a name like UNW_REG_INNER_CFA?

Is there an ambiguity that the longer name helps resolve?

- can it be assigned a negative constant value so that it can't polute
the ISA register number space
when extending the x86 register numbers I had to leave a gap in the
middle to ensure "binary" number compatibility, giving these libunwind
"registers" constant -ve values would help avoid that in the future

This sounds like a good thing to do.

But because we have other libunwind registers (eg: UNW_TDEP_IP) whose values change when new ISA registers are added, this should be a separate patch.

 -Arun
 

reply via email to

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