Check bits_per_word instead of gdbarch_ptr_bit
authorH.J. Lu <hjl.tools@gmail.com>
Sat, 16 Jun 2012 13:28:06 +0000 (13:28 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Sat, 16 Jun 2012 13:28:06 +0000 (13:28 +0000)
commit233dfcf06d379c41f7c0e8cc024ad16eeb7f3636
tree3f7ead042295f601c7f5ae6fcb06e1a0a67a0ae3
parent6da38f42ff97c1a08db009db80ae53f7e3353f29
Check bits_per_word instead of gdbarch_ptr_bit

* amd64-linux-nat.c (ps_get_thread_area): Check bits_per_word
instead of gdbarch_ptr_bit.
* amd64-nat.c (amd64_native_gregset_reg_offset): Likewise.
(amd64_supply_native_gregset): Likewise.
(amd64_collect_native_gregset): Likewise.
* amd64-tdep.c (amd64_supply_fxsave): Likewise.
(amd64_supply_xsave): Likewise.
(amd64_collect_fxsave): Likewise.
(amd64_collect_xsave): Likewise.
gdb/ChangeLog
gdb/amd64-linux-nat.c
gdb/amd64-nat.c
gdb/amd64-tdep.c