aboutsummaryrefslogtreecommitdiff
path: root/gdb/windows-nat.c
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2001-12-03 08:19:01 +0000
committerPierre Muller <muller@sourceware.org>2001-12-03 08:19:01 +0000
commit441532d7b8ddcdcf36a2228746687d1681a369da (patch)
treec6597d58d18533d876354e3b9a6e43d067f0cdbe /gdb/windows-nat.c
parenta4cae47f1a1a064ad003efcd267550f3bbde6625 (diff)
downloadgdb-441532d7b8ddcdcf36a2228746687d1681a369da.zip
gdb-441532d7b8ddcdcf36a2228746687d1681a369da.tar.gz
gdb-441532d7b8ddcdcf36a2228746687d1681a369da.tar.bz2
2001-11-30 Pierre Muller <muller@ics.u-strasbg.fr>
* win32-nat.c (mappings): Correct position of XMM registers, based on FXSAVE instruction structure.
Diffstat (limited to 'gdb/windows-nat.c')
-rw-r--r--gdb/windows-nat.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c
index 1772c24..afd4035 100644
--- a/gdb/windows-nat.c
+++ b/gdb/windows-nat.c
@@ -179,16 +179,16 @@ static const int mappings[] =
context_offset (FloatSave.ErrorSelector)
#ifdef HAVE_SSE_REGS
/* XMM0-7 */ ,
- context_offset (ExtendedRegisters[0*16]),
- context_offset (ExtendedRegisters[1*16]),
- context_offset (ExtendedRegisters[2*16]),
- context_offset (ExtendedRegisters[3*16]),
- context_offset (ExtendedRegisters[4*16]),
- context_offset (ExtendedRegisters[5*16]),
- context_offset (ExtendedRegisters[6*16]),
- context_offset (ExtendedRegisters[7*16]),
- /* MXCSR untested */
- context_offset (ExtendedRegisters[8*16])
+ context_offset (ExtendedRegisters[10*16]),
+ context_offset (ExtendedRegisters[11*16]),
+ context_offset (ExtendedRegisters[12*16]),
+ context_offset (ExtendedRegisters[13*16]),
+ context_offset (ExtendedRegisters[14*16]),
+ context_offset (ExtendedRegisters[15*16]),
+ context_offset (ExtendedRegisters[16*16]),
+ context_offset (ExtendedRegisters[17*16]),
+ /* MXCSR */
+ context_offset (ExtendedRegisters[24])
#endif
};