I am having problems converting the ia64-tdep.c file to use the new frame model.
The main problem stems from the fact that the next frame is asked for the current
registers. When dealing with the innermost frame, the sentinel frame doesn't know how
to get all of the ia64 registers.
In the current code, the bsp register is calculated based on the cfm and the bsp
values returned from the system. For the innermost frame, the sentinel frame just
goes to the sytem bsp value. The argument registers (32, 33, ...) need to be fetched
from a memory location based on the calculated bsp value. These registers are not accessible
via ptrace. When the sentinel frame is asked to fetch them, it ends up just grabbing
them from the regcache which returns zero.