OSDN Git Service

* 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)
commit0db187629533a46f56f08a5d2474c881120a2811
tree2e2314bbf58172a8c0f1bb4fcc50ddc65c09da6d
parent1f626905fcf91c2a29ee37209beada3d818a5fa6
* 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