OSDN Git Service

* libunwind-frame.h (struct regcache): Add forward declaration.
authoruweigand <uweigand>
Sat, 12 May 2007 00:07:44 +0000 (00:07 +0000)
committeruweigand <uweigand>
Sat, 12 May 2007 00:07:44 +0000 (00:07 +0000)
commitac1d97a110938f095f3207d5370dd7239a99b76c
tree96eb763ab420ece563c94fbd3a719da60d31047a
parent14ed47295a55c00f8a908aca21581a39efbe131d
* 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