aboutsummaryrefslogtreecommitdiff
path: root/gdb/amd64-tdep.h
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2005-09-26 06:59:39 +0000
committerJan Beulich <jbeulich@novell.com>2005-09-26 06:59:39 +0000
commitc6f4c129c66f19ff2574d568af7242be621c9795 (patch)
tree56d714cf4969827f81d8ceb92b787eabf152078b /gdb/amd64-tdep.h
parent2af48f682683971cba5c8e8900e4334a1fc04fe1 (diff)
downloadgdb-c6f4c129c66f19ff2574d568af7242be621c9795.zip
gdb-c6f4c129c66f19ff2574d568af7242be621c9795.tar.gz
gdb-c6f4c129c66f19ff2574d568af7242be621c9795.tar.bz2
gdb/
2005-09-26 Jan Beulich <jbeulich@novell.com> * amd64-tdep.h (AMD64_FCTRL_REGNUM, AMD64_FSTAT_REGNUM, AMD64_MXCSR_REGNUM): New. * amd64-tdep.c (amd64_dwarf_regmap): Add eflags, selector regs, mxcsr, fp control and status words. * i386-tdep.c (): Add selector regs, mxcsr, fp control and status words.
Diffstat (limited to 'gdb/amd64-tdep.h')
-rw-r--r--gdb/amd64-tdep.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/amd64-tdep.h b/gdb/amd64-tdep.h
index e01be02..e5ce22a 100644
--- a/gdb/amd64-tdep.h
+++ b/gdb/amd64-tdep.h
@@ -52,8 +52,11 @@ enum amd64_regnum
AMD64_FS_REGNUM, /* %fs */
AMD64_GS_REGNUM, /* %gs */
AMD64_ST0_REGNUM = 24, /* %st0 */
+ AMD64_FCTRL_REGNUM = AMD64_ST0_REGNUM + 8,
+ AMD64_FSTAT_REGNUM = AMD64_ST0_REGNUM + 9,
AMD64_XMM0_REGNUM = 40, /* %xmm0 */
- AMD64_XMM1_REGNUM /* %xmm1 */
+ AMD64_XMM1_REGNUM, /* %xmm1 */
+ AMD64_MXCSR_REGNUM = AMD64_XMM0_REGNUM + 16
};
/* Number of general purpose registers. */