]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/amd64-tdep.c
* x86-64-tdep.c (X86_64_NUM_SAVED_REGS): Set to X86_64_NUM_GREGS.
authorMark Kettenis <kettenis@gnu.org>
Sat, 31 May 2003 16:11:47 +0000 (16:11 +0000)
committerMark Kettenis <kettenis@gnu.org>
Sat, 31 May 2003 16:11:47 +0000 (16:11 +0000)
commit2b5e07495d88a5301fa2d3ba7780246e79582c51
treead0763f045ce8e2d37f83f8cacee78ebab86bcfe
parenta338618604d020a6e8bde2f5e298a7e41abe290c
* x86-64-tdep.c (X86_64_NUM_SAVED_REGS): Set to X86_64_NUM_GREGS.
(x86_64_sigtramp_frame_cache): Use `sc_reg_offset' to find saved
registers.

* x86-64-linux-tdep.c (x86_64_linux_sc_reg_offset): New variable.
(x86_64_linux_init_abi): Initialize TDEP->sc_reg_offset and
TDEP->sc_num_regs instead of TDEP->sc_pc_offset and
TDEP->sc_sp_offset.
gdb/ChangeLog
gdb/x86-64-linux-tdep.c
gdb/x86-64-tdep.c