8695c747d8
* Makefile.in (amd64_linux_tdep_h): New. (amd64-linux-nat.o, amd64-linux-tdep.o): Update. * amd64-linux-nat.c (amd64_linux_gregset64_reg_offset): Add ORIG_RAX. (_initialize_amd64_linux_nat): Set amd64_native_gregset64_num_regs. * amd64-linux-tdep.c (amd64_linux_register_name) (amd64_linux_register_type, amd64_linux_register_reggroup_p) (amd64_linux_write_pc): New. (amd64_linux_init_abi): Use them, and update num_regs. * amd64-linux-tdep.h: New file. * amd64-tdep.c (amd64_register_name, amd64_register_type): Make public. * amd64-tdep.h (amd64_register_name, amd64_register_type): New prototypes. * regformats/reg-x86-64-linux.dat: New file. gdb/testsuite/ * Makefile.in (clean): Clean reg-x86-64-linux.c. (reg-x86-64-linux.o, reg-x86-64-linux.c): New. * configure.srv (x86_64-*-linux*): Use reg-x86-64-linux.o. * linux-x86-64-low.c (x86_64_regmap): Include ORIG_RAX. (x86_64_fill_gregset, x86_64_store_gregset): Skip floating point registers.
60 lines
498 B
Text
60 lines
498 B
Text
name:x86_64_linux
|
|
expedite:rbp,rsp,rip
|
|
64:rax
|
|
64:rbx
|
|
64:rcx
|
|
64:rdx
|
|
64:rsi
|
|
64:rdi
|
|
64:rbp
|
|
64:rsp
|
|
64:r8
|
|
64:r9
|
|
64:r10
|
|
64:r11
|
|
64:r12
|
|
64:r13
|
|
64:r14
|
|
64:r15
|
|
64:rip
|
|
32:eflags
|
|
32:cs
|
|
32:ss
|
|
32:ds
|
|
32:es
|
|
32:fs
|
|
32:gs
|
|
80:st0
|
|
80:st1
|
|
80:st2
|
|
80:st3
|
|
80:st4
|
|
80:st5
|
|
80:st6
|
|
80:st7
|
|
32:fctrl
|
|
32:fstat
|
|
32:ftag
|
|
32:fiseg
|
|
32:fioff
|
|
32:foseg
|
|
32:fooff
|
|
32:fop
|
|
128:xmm0
|
|
128:xmm1
|
|
128:xmm2
|
|
128:xmm3
|
|
128:xmm4
|
|
128:xmm5
|
|
128:xmm6
|
|
128:xmm7
|
|
128:xmm8
|
|
128:xmm9
|
|
128:xmm10
|
|
128:xmm11
|
|
128:xmm12
|
|
128:xmm13
|
|
128:xmm14
|
|
128:xmm15
|
|
32:mxcsr
|
|
64:orig_rax
|