add registers for NetBSD sigcontext in dlls/ntdll/signal_i386.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch adds fields from NetBSD struct sigcontext on i386.

-- 
Yorick Hardy

--- dlls/ntdll/signal_i386.c.orig	Wed Mar 26 10:29:49 2003
+++ dlls/ntdll/signal_i386.c	Wed Mar 26 10:44:03 2003
@@ -322,6 +322,13 @@
 #define GS_sig(context)      ((context)->sc_gs)
 #endif
 
+#ifdef __NetBSD__
+#define FS_sig(context)      ((context)->sc_fs)
+#define GS_sig(context)      ((context)->sc_gs)
+#define TRAP_sig(context)    ((context)->sc_trapno)
+#define ERROR_sig(context)   ((context)->sc_err)
+#endif
+
 #ifdef linux
 #define FS_sig(context)      ((context)->sc_fs)
 #define GS_sig(context)      ((context)->sc_gs)


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux