Mail Archives: cygwin/2001/11/20/08:22:05
Could the following patch be included into
the winsup/w32api/winnt.h
under the obvious rule ?
(I only have an assignment for GDB).
The info comes directly for the Microsoft SDK,
but there is no way these values could be changed,
so even if I did type them, its like if I did a Copy/Paste...
These are needed to add SSE registers support for Cygwin GDB.
New version with ChangeLog entry.
ChangeLog entry:
2001-11-19 Pierre Muller <muller AT ics DOT u-strasbg DOT fr>
* w32api/include/winnt.h: prepare SSE register support.
(CONTEXT_EXTENDED_REGISTERS): Add new define.
(MAXIMUM_SUPPORTED_EXTENSION): New define.
(struct CONTEXT): ExtendedRegisters field added.
Index: winnt.h
===================================================================
RCS file: /cvs/src/src/winsup/w32api/include/winnt.h,v
retrieving revision 1.36
diff -u -r1.36 winnt.h
--- winnt.h 2001/11/12 17:53:47 1.36
+++ winnt.h 2001/11/20 12:20:28
@@ -1190,6 +1190,10 @@
#define CONTEXT_SEGMENTS (CONTEXT_i386|0x00000004L)
#define CONTEXT_FLOATING_POINT (CONTEXT_i386|0x00000008L)
#define CONTEXT_DEBUG_REGISTERS (CONTEXT_i386|0x00000010L)
+#define CONTEXT_EXTENDED_REGISTERS (CONTEXT_i386|0x00000020L)
+
+#define MAXIMUM_SUPPORTED_EXTENSION 512
+
#define CONTEXT_FULL (CONTEXT_CONTROL|CONTEXT_INTEGER|CONTEXT_SEGMENTS)
typedef struct _FLOATING_SAVE_AREA {
DWORD ControlWord;
@@ -1227,6 +1231,7 @@
DWORD EFlags;
DWORD Esp;
DWORD SegSs;
+ BYTE ExtendedRegisters[MAXIMUM_SUPPORTED_EXTENSION];
} CONTEXT;
#elif defined(_PPC_)
#define CONTEXT_CONTROL 1L
Pierre Muller
Institut Charles Sadron
6,rue Boussingault
F 67083 STRASBOURG CEDEX (France)
mailto:muller AT ics DOT u-strasbg DOT fr
Phone : (33)-3-88-41-40-07 Fax : (33)-3-88-41-40-99
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -