* ia64-linux-nat.c (ia64_register_addr): Add gdbarch parameter,
authorUlrich Weigand <uweigand@de.ibm.com>
Sat, 13 Oct 2007 00:49:15 +0000 (00:49 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Sat, 13 Oct 2007 00:49:15 +0000 (00:49 +0000)
commit2685572f6e11fbd387d4c6a3317373e65f42e7ff
treee1000cffe3d63692de765a37962c2641d9491e20
parente041f13d5ac555c7485633dcd8288ebb6a67bf53
* ia64-linux-nat.c (ia64_register_addr): Add gdbarch parameter,
replacing use of global current_gdbarch.
(ia64_cannot_fetch_register, ia64_cannot_store_register): Likewise.
(ia64_linux_fetch_register, ia64_linux_store_register): Update callers.

* ia64-tdep.c (SIGCONTEXT_REGISTER_ADDRESS): Remove macro.
(ia64_sigtramp_frame_init_saved_regs): Add next_frame parameter,
replace uses of SIGCONTEXT_REGISTER_ADDRESS.
(ia64_sigtramp_frame_cache): Update caller.
gdb/ChangeLog
gdb/ia64-linux-nat.c
gdb/ia64-tdep.c