* aix-thread.c (supply_gprs64, supply_reg32, supply_fprs,
authorUlrich Weigand <uweigand@de.ibm.com>
Sun, 6 May 2007 14:11:24 +0000 (14:11 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Sun, 6 May 2007 14:11:24 +0000 (14:11 +0000)
commit647478e0682504636c2bc9de109a44f70826cbb6
treeab85c568271ce221813a5d63d77bee73316de8b9
parentd817e0835325df6f30475004ac1e59bff863088a
* aix-thread.c (supply_gprs64, supply_reg32, supply_fprs,
supply_sprs64, supply_sprs32): Add REGCACHE parameter, use it
instead of current_regcache.
(fetch_regs_user_thread, fetch_regs_kernel_thread): Add
REGCACHE parameter, pass it to supply_ routines.
(aix_thread_fetch_registers): Pass current_regcache to
fetch_regs_user_thread and fetch_regs_kernel_thread.

(fill_gprs64, fill_gprs32, fill_fprs, fill_sprs64, fill_sprs32):
Add REGCACHE parameter, use it instead of current_regcache.
Call regcache_valid_p instead of register_cached.
(store_regs_user_thread, store_regs_kernel_thread): Likewise.
Also, pass REGCACHE to fill_ routines.
(aix_thread_store_registers): Pass current_regcache to
store_regs_user_thread and store_regs_kernel_thread.
gdb/ChangeLog
gdb/aix-thread.c