* i386-linux-tdep.h (I386_LINUX_NUM_REGS): New define.
authorMark Kettenis <kettenis@gnu.org>
Fri, 29 Aug 2003 16:28:39 +0000 (16:28 +0000)
committerMark Kettenis <kettenis@gnu.org>
Fri, 29 Aug 2003 16:28:39 +0000 (16:28 +0000)
commit60fac5b81a94dedf1997344af7a998e9ea611e55
treeb8d84497225be51a56fb0f7fc649546d28ab3e4a
parent546143b61a02462d8536c067c2137ed28cc7728a
* i386-linux-tdep.h (I386_LINUX_NUM_REGS): New define.
* x86-64-linux-nat.c: Include "i386-linux-tdep.h" and "amd64.h".
Change "register array" to "register cache" in comments.
(x86_64_linux_gregset64_reg_offset): New variable.
(GETREGS_SUPPLIES): Remove macro.
(supply_gregset): Call amd64_supply_native_gregset instead of
x86_64_linux_supply_gregset.
(fill_gregset): Rename `regno' to `regnum'.  Call
amd64_collect_native_gregset instead of x86_64_linux_fill_gregset.
(store_regs): Rename `regno' to `regnum'.
(store_fpregs): Rename `regno' to `regnum'.
(fetch_inferior_registers): Rename `regno' to `regnum'.  Use
amd64_native_gregset_supplies_p instead of GREGSET_SUPPLIES.
Reorganize function a bit.
(store_inferior_registers): Rename `regno' to `regnum'.  Use
amd64_native_gregset_supplies_p instead of GREGSET_SUPPLIES.
Reorganize function a bit.
(_initialize_x86_64_linux_nat): New function.
* config/i386/x86-64linux.mh.
gdb/ChangeLog
gdb/config/i386/x86-64linux.mh
gdb/i386-linux-tdep.h
gdb/x86-64-linux-nat.c