summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/tlsoffsets.h
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2006-02-06 18:24:11 +0000
committerChristopher Faylor <me@cgf.cx>2006-02-06 18:24:11 +0000
commit985d0e68c5f100a6996e43a08eff82981b558ec9 (patch)
tree295dce16374bf028f98c64d09bb3ef61fa89b9ad /winsup/cygwin/tlsoffsets.h
parent125ff9be63714e51d9668a100193d1e63e645281 (diff)
downloadcygnal-985d0e68c5f100a6996e43a08eff82981b558ec9.tar.gz
cygnal-985d0e68c5f100a6996e43a08eff82981b558ec9.tar.bz2
cygnal-985d0e68c5f100a6996e43a08eff82981b558ec9.zip
Always zero all elements of siginfo_t throughout.
* cygtls.h (_cygtls::thread_context): Declare new field. (_cygtls::thread_id): Ditto. (_cygtls::signal_exit): Move into this class. (_cygtls::copy_context): Declare new function. (_cygtls::signal_debugger): Ditto. * cygtls.cc (_cygtls::init_thread): Fill out thread id field. * exceptions.cc (exception): Change message when exception info is unknown. Copy context to thread local storage. (_cygtls::handle_exceptions): Avoid double test for fault_guarded. Reflect move of signal_exit to _cygtls class. (sigpacket::process): Copy context to thread local storage. (_cygtls::signal_exit): Move to _cygtls class. Call signal_debugger to notify debugger of exiting signal (WIP). Call stackdump here (WIP). (_cygtls::copy_context): Define new function. (_cygtls::signal_debugger): Ditto. * tlsoffsets.h: Regenerate. * include/cygwin.h (_fpstate): New internal structure. (ucontext): Declare new structure (WIP). (__COPY_CONTEXT_SIZE): New define. * exceptions.cc (_cygtls::interrupt_setup): Clear "threadkill" field when there is no sigwaiting thread. (setup_handler): Move event handling into interrupt_setup.
Diffstat (limited to 'winsup/cygwin/tlsoffsets.h')
-rw-r--r--winsup/cygwin/tlsoffsets.h130
1 files changed, 69 insertions, 61 deletions
diff --git a/winsup/cygwin/tlsoffsets.h b/winsup/cygwin/tlsoffsets.h
index eebcfcaf0..8e9aec833 100644
--- a/winsup/cygwin/tlsoffsets.h
+++ b/winsup/cygwin/tlsoffsets.h
@@ -1,125 +1,133 @@
//;# autogenerated: Do not edit.
-//; $tls::sizeof__cygtls = 3996;
-//; $tls::func = -3996;
+//; $tls::sizeof__cygtls = 4212;
+//; $tls::func = -4212;
//; $tls::pfunc = 0;
-//; $tls::saved_errno = -3992;
+//; $tls::saved_errno = -4208;
//; $tls::psaved_errno = 4;
-//; $tls::sa_flags = -3988;
+//; $tls::sa_flags = -4204;
//; $tls::psa_flags = 8;
-//; $tls::oldmask = -3984;
+//; $tls::oldmask = -4200;
//; $tls::poldmask = 12;
-//; $tls::deltamask = -3980;
+//; $tls::deltamask = -4196;
//; $tls::pdeltamask = 16;
-//; $tls::event = -3976;
+//; $tls::event = -4192;
//; $tls::pevent = 20;
-//; $tls::errno_addr = -3972;
+//; $tls::errno_addr = -4188;
//; $tls::perrno_addr = 24;
-//; $tls::initialized = -3968;
+//; $tls::initialized = -4184;
//; $tls::pinitialized = 28;
-//; $tls::sigmask = -3964;
+//; $tls::sigmask = -4180;
//; $tls::psigmask = 32;
-//; $tls::sigwait_mask = -3960;
+//; $tls::sigwait_mask = -4176;
//; $tls::psigwait_mask = 36;
-//; $tls::sigwait_info = -3956;
+//; $tls::sigwait_info = -4172;
//; $tls::psigwait_info = 40;
+//; $tls::thread_context = -4168;
+//; $tls::pthread_context = 44;
+//; $tls::thread_id = -3956;
+//; $tls::pthread_id = 256;
//; $tls::threadkill = -3952;
-//; $tls::pthreadkill = 44;
+//; $tls::pthreadkill = 260;
//; $tls::infodata = -3948;
-//; $tls::pinfodata = 48;
+//; $tls::pinfodata = 264;
//; $tls::tid = -3800;
-//; $tls::ptid = 196;
+//; $tls::ptid = 412;
//; $tls::local_clib = -3796;
-//; $tls::plocal_clib = 200;
+//; $tls::plocal_clib = 416;
//; $tls::__dontuse = -3796;
-//; $tls::p__dontuse = 200;
+//; $tls::p__dontuse = 416;
//; $tls::locals = -2732;
-//; $tls::plocals = 1264;
+//; $tls::plocals = 1480;
//; $tls::_ctinfo = -1100;
-//; $tls::p_ctinfo = 2896;
+//; $tls::p_ctinfo = 3112;
//; $tls::el = -1096;
-//; $tls::pel = 2900;
+//; $tls::pel = 3116;
//; $tls::andreas = -1088;
-//; $tls::pandreas = 2908;
+//; $tls::pandreas = 3124;
//; $tls::wq = -1080;
-//; $tls::pwq = 2916;
+//; $tls::pwq = 3132;
//; $tls::prev = -1052;
-//; $tls::pprev = 2944;
+//; $tls::pprev = 3160;
//; $tls::next = -1048;
-//; $tls::pnext = 2948;
+//; $tls::pnext = 3164;
//; $tls::sig = -1044;
-//; $tls::psig = 2952;
+//; $tls::psig = 3168;
//; $tls::incyg = -1040;
-//; $tls::pincyg = 2956;
+//; $tls::pincyg = 3172;
//; $tls::spinning = -1036;
-//; $tls::pspinning = 2960;
+//; $tls::pspinning = 3176;
//; $tls::stacklock = -1032;
-//; $tls::pstacklock = 2964;
+//; $tls::pstacklock = 3180;
//; $tls::stackptr = -1028;
-//; $tls::pstackptr = 2968;
+//; $tls::pstackptr = 3184;
//; $tls::stack = -1024;
-//; $tls::pstack = 2972;
+//; $tls::pstack = 3188;
//; $tls::padding = 0;
-//; $tls::ppadding = 3996;
+//; $tls::ppadding = 4212;
//; __DATA__
-#define tls_func (-3996)
+#define tls_func (-4212)
#define tls_pfunc (0)
-#define tls_saved_errno (-3992)
+#define tls_saved_errno (-4208)
#define tls_psaved_errno (4)
-#define tls_sa_flags (-3988)
+#define tls_sa_flags (-4204)
#define tls_psa_flags (8)
-#define tls_oldmask (-3984)
+#define tls_oldmask (-4200)
#define tls_poldmask (12)
-#define tls_deltamask (-3980)
+#define tls_deltamask (-4196)
#define tls_pdeltamask (16)
-#define tls_event (-3976)
+#define tls_event (-4192)
#define tls_pevent (20)
-#define tls_errno_addr (-3972)
+#define tls_errno_addr (-4188)
#define tls_perrno_addr (24)
-#define tls_initialized (-3968)
+#define tls_initialized (-4184)
#define tls_pinitialized (28)
-#define tls_sigmask (-3964)
+#define tls_sigmask (-4180)
#define tls_psigmask (32)
-#define tls_sigwait_mask (-3960)
+#define tls_sigwait_mask (-4176)
#define tls_psigwait_mask (36)
-#define tls_sigwait_info (-3956)
+#define tls_sigwait_info (-4172)
#define tls_psigwait_info (40)
+#define tls_thread_context (-4168)
+#define tls_pthread_context (44)
+#define tls_thread_id (-3956)
+#define tls_pthread_id (256)
#define tls_threadkill (-3952)
-#define tls_pthreadkill (44)
+#define tls_pthreadkill (260)
#define tls_infodata (-3948)
-#define tls_pinfodata (48)
+#define tls_pinfodata (264)
#define tls_tid (-3800)
-#define tls_ptid (196)
+#define tls_ptid (412)
#define tls_local_clib (-3796)
-#define tls_plocal_clib (200)
+#define tls_plocal_clib (416)
#define tls___dontuse (-3796)
-#define tls_p__dontuse (200)
+#define tls_p__dontuse (416)
#define tls_locals (-2732)
-#define tls_plocals (1264)
+#define tls_plocals (1480)
#define tls__ctinfo (-1100)
-#define tls_p_ctinfo (2896)
+#define tls_p_ctinfo (3112)
#define tls_el (-1096)
-#define tls_pel (2900)
+#define tls_pel (3116)
#define tls_andreas (-1088)
-#define tls_pandreas (2908)
+#define tls_pandreas (3124)
#define tls_wq (-1080)
-#define tls_pwq (2916)
+#define tls_pwq (3132)
#define tls_prev (-1052)
-#define tls_pprev (2944)
+#define tls_pprev (3160)
#define tls_next (-1048)
-#define tls_pnext (2948)
+#define tls_pnext (3164)
#define tls_sig (-1044)
-#define tls_psig (2952)
+#define tls_psig (3168)
#define tls_incyg (-1040)
-#define tls_pincyg (2956)
+#define tls_pincyg (3172)
#define tls_spinning (-1036)
-#define tls_pspinning (2960)
+#define tls_pspinning (3176)
#define tls_stacklock (-1032)
-#define tls_pstacklock (2964)
+#define tls_pstacklock (3180)
#define tls_stackptr (-1028)
-#define tls_pstackptr (2968)
+#define tls_pstackptr (3184)
#define tls_stack (-1024)
-#define tls_pstack (2972)
+#define tls_pstack (3188)
#define tls_padding (0)
-#define tls_ppadding (3996)
+#define tls_ppadding (4212)