* libunwind-frame.h (struct regcache): Add forward declaration.
authorUlrich Weigand <uweigand@de.ibm.com>
Sat, 12 May 2007 00:07:45 +0000 (00:07 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Sat, 12 May 2007 00:07:45 +0000 (00:07 +0000)
commit45ecac4b41626c5f43dd90d0174f56c3d1350cc9
tree6ffe6ac6417d3ed0b8a7ea03f569ab933c0d08f8
parent26f43351a71c25e48de61bb586fe4d492603e609
* libunwind-frame.h (struct regcache): Add forward declaration.
(libunwind_get_reg_special): Add REGCACHE argument.
* libunwind-frame.c (libunwind_get_reg_special): Add REGCACHE
argument.  Pass it to unw_init_remote_p.

* ia64-tdep.c (ia64_pseudo_register_read): Pass regcache to
libunwind_get_reg_special.
(ia64_access_reg): Remove "write" case.
(ia64_access_fpreg): Likewise.  Read from next_frame passed
as callback argument instead of from current_regcache.
(ia64_access_rse_reg): Remove "write" case.  Read from regcache
passed as callback argument instead of from current_regcache.
(ia64_access_rse_fpreg): New function.
(ia64_unw_rse_acce): Use it instead of ia64_access_fpreg.
gdb/ChangeLog
gdb/ia64-tdep.c
gdb/libunwind-frame.c
gdb/libunwind-frame.h