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