diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-08-21 20:37:30 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-08-21 20:37:30 +0000 |
commit | 05c691a1371fa56901e09f53e1aa2f580640446e (patch) | |
tree | 8b9b7962a3299263359ea1316eb1fdd3cb399527 /ylwrap | |
parent | 5e1c865bc487deb2936aa144d2fe88445ea90558 (diff) | |
download | gdb-05c691a1371fa56901e09f53e1aa2f580640446e.zip gdb-05c691a1371fa56901e09f53e1aa2f580640446e.tar.gz gdb-05c691a1371fa56901e09f53e1aa2f580640446e.tar.bz2 |
2003-08-21 Andrew Cagney <cagney@redhat.com>
* x86-64-tdep.h (enum x86_64_regnums): Replace #define of
X86_64_RAX_REGNUM, X86_64_RDX_REGNUM, X86_64_RDI_REGNUM,
X86_64_RBP_REGNUM, X86_64_RSP_REGNUM, X86_64_RIP_REGNUM,
X86_64_EFLAGS_REGNUM, X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM,
X86_64_XMM1_REGNUM.
* x86-64-linux-tdep.h (x86_64_linux_greg_offset): Declare.
(x86_64_linux_supply_gregset): Add "sizeof_gregs" param.
(x86_64_linux_fill_gregset): Add "sizeof_gregs" param.
* x86-64-linux-tdep.c: Include "gdb_assert.h" and
"i386-linux-tdep.h".
(enum user_regs): Replace user reg #defines, add USER_ORIG_RAX,
USER_FS_BASE and USER_GS_BASE.
(struct regnum_map, struct regnum_to_user): Define.
(x86_64_linux_greg_offset): New function.
(user_to_gdb_regmap): Delete.
(x86_64_linux_supply_gregset, x86_64_linux_fill_gregset): Use
x86_64_linux_greg_offset.
(x86_64_core_sniffer): New function
(x86_64_core_fns): Set the sniffer to x86_64_core_sniffer.
(fetch_core_registers): Pass "core_reg_size" to the supply
functions.
* x86-64-linux-nat.c (GETREGS_SUPPLIES): Delete macro.
(fetch_inferior_registers): Use x86_64_linux_greg_offset.
(store_inferior_registers): Ditto.
* Makefile.in (x86-64-linux-tdep.o): Update dependencies.
Diffstat (limited to 'ylwrap')
0 files changed, 0 insertions, 0 deletions