aboutsummaryrefslogtreecommitdiff
path: root/gdb/regformats
diff options
context:
space:
mode:
authorMichal Ludvig <mludvig@suse.cz>2002-03-27 10:21:29 +0000
committerMichal Ludvig <mludvig@suse.cz>2002-03-27 10:21:29 +0000
commitde220d0ff6d5ded0d71443c15a012a616fd7a17a (patch)
tree04053f7151b3b37a6abe9c4871a6f4a1fd8e00b4 /gdb/regformats
parent0e98d0a7510d45111a189ecd2baed6d15c61a11b (diff)
downloadgdb-de220d0ff6d5ded0d71443c15a012a616fd7a17a.zip
gdb-de220d0ff6d5ded0d71443c15a012a616fd7a17a.tar.gz
gdb-de220d0ff6d5ded0d71443c15a012a616fd7a17a.tar.bz2
* x86-64-tdep.h (X86_64_NUM_REGS, X86_64_NUM_GREGS): Delete #defines.
(x86_64_num_regs, x86_64_num_gregs): Added extern variables. * x86-64-linux-nat.c (x86_64_regmap): Swapped RBX <> RDX, added DS, ES, FS, GS. (x86_64_linux_dr_get_status, supply_gregset), (fill_gregset): Changed X86_64_NUM_GREGS to x86_64_num_gregs. * x86-64-tdep.c (x86_64_register_raw_size_table): Delete. (x86_64_register_info_table): Add. (X86_64_NUM_REGS, X86_64_NUM_GREGS): Add. (x86_64_register_raw_size, x86_64_register_virtual_type), (x86_64_register_name, _initialize_x86_64_tdep): Changed to reflect new general x86_64_register_info_table. (i386_gdbarch_init): gdbarch_register_bytes is now set dynamicaly during initialization. * regformats/reg-x86-64.dat: Synced with changes to registers above. * gdbserver/linux-x86-64-low.c: Ditto.
Diffstat (limited to 'gdb/regformats')
-rw-r--r--gdb/regformats/reg-x86-64.dat8
1 files changed, 6 insertions, 2 deletions
diff --git a/gdb/regformats/reg-x86-64.dat b/gdb/regformats/reg-x86-64.dat
index a8a2e8c..59ebbf5 100644
--- a/gdb/regformats/reg-x86-64.dat
+++ b/gdb/regformats/reg-x86-64.dat
@@ -1,9 +1,9 @@
name:x86_64
expedite:rbp,rsp,rip
64:rax
-64:rdx
-64:rcx
64:rbx
+64:rcx
+64:rdx
64:rsi
64:rdi
64:rbp
@@ -18,6 +18,10 @@ expedite:rbp,rsp,rip
64:r15
64:rip
32:eflags
+32:ds
+32:es
+32:fs
+32:gs
80:st0
80:st1
80:st2