summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/wincap.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2004-01-19 23:03:43 +0000
committerChristopher Faylor <me@cgf.cx>2004-01-19 23:03:43 +0000
commitd795119cbe7e421ef84df059d5cd26ddc73c31b3 (patch)
tree3cd0736f67a59f8639db75dbba7bcfd5f776c526 /winsup/cygwin/wincap.cc
parent403f752cb26c161ca80bdab4981640316f67ed39 (diff)
downloadcygnal-d795119cbe7e421ef84df059d5cd26ddc73c31b3.tar.gz
cygnal-d795119cbe7e421ef84df059d5cd26ddc73c31b3.tar.bz2
cygnal-d795119cbe7e421ef84df059d5cd26ddc73c31b3.zip
* sigproc.cc (sigproc_terminate): Don't close sendsig handle when execing since
we're not closing what we think we're closing. (sig_send): Improve debugging when exiting due to no_signals_available. * wincap.h (wincaps::cant_debug_dll_entry): New element. * wincap.cc: Implement above element throughout. * dcrt0.cc (initial_env): Accommodate changes necessary to allow initial debugging for systems which do not allow debugging in dll_entry. (dll_crt0_0): Add initial_env call back here. * Makefile.in (install-man): Use mandir as target for installation. * include/cygwin/version.h: Bump DLL minor number to 7 (should have been done earlier).
Diffstat (limited to 'winsup/cygwin/wincap.cc')
-rw-r--r--winsup/cygwin/wincap.cc36
1 files changed, 24 insertions, 12 deletions
diff --git a/winsup/cygwin/wincap.cc b/winsup/cygwin/wincap.cc
index 379b6343c..8b720cbc6 100644
--- a/winsup/cygwin/wincap.cc
+++ b/winsup/cygwin/wincap.cc
@@ -51,7 +51,8 @@ static NO_COPY wincaps wincap_unknown = {
needs_memory_protection:false,
pty_needs_alloc_console:false,
has_terminal_services:false,
- has_switch_to_thread:false
+ has_switch_to_thread:false,
+ cant_debug_dll_entry:false
};
static NO_COPY wincaps wincap_95 = {
@@ -94,7 +95,8 @@ static NO_COPY wincaps wincap_95 = {
needs_memory_protection:false,
pty_needs_alloc_console:false,
has_terminal_services:false,
- has_switch_to_thread:false
+ has_switch_to_thread:false,
+ cant_debug_dll_entry:true
};
static NO_COPY wincaps wincap_95osr2 = {
@@ -137,7 +139,8 @@ static NO_COPY wincaps wincap_95osr2 = {
needs_memory_protection:false,
pty_needs_alloc_console:false,
has_terminal_services:false,
- has_switch_to_thread:false
+ has_switch_to_thread:false,
+ cant_debug_dll_entry:true
};
static NO_COPY wincaps wincap_98 = {
@@ -180,7 +183,8 @@ static NO_COPY wincaps wincap_98 = {
needs_memory_protection:false,
pty_needs_alloc_console:false,
has_terminal_services:false,
- has_switch_to_thread:false
+ has_switch_to_thread:false,
+ cant_debug_dll_entry:true
};
static NO_COPY wincaps wincap_98se = {
@@ -223,7 +227,8 @@ static NO_COPY wincaps wincap_98se = {
needs_memory_protection:false,
pty_needs_alloc_console:false,
has_terminal_services:false,
- has_switch_to_thread:false
+ has_switch_to_thread:false,
+ cant_debug_dll_entry:true
};
static NO_COPY wincaps wincap_me = {
@@ -266,7 +271,8 @@ static NO_COPY wincaps wincap_me = {
needs_memory_protection:false,
pty_needs_alloc_console:false,
has_terminal_services:false,
- has_switch_to_thread:false
+ has_switch_to_thread:false,
+ cant_debug_dll_entry:true
};
static NO_COPY wincaps wincap_nt3 = {
@@ -309,7 +315,8 @@ static NO_COPY wincaps wincap_nt3 = {
needs_memory_protection:true,
pty_needs_alloc_console:true,
has_terminal_services:false,
- has_switch_to_thread:false
+ has_switch_to_thread:false,
+ cant_debug_dll_entry:false
};
static NO_COPY wincaps wincap_nt4 = {
@@ -352,7 +359,8 @@ static NO_COPY wincaps wincap_nt4 = {
needs_memory_protection:true,
pty_needs_alloc_console:true,
has_terminal_services:false,
- has_switch_to_thread:true
+ has_switch_to_thread:true,
+ cant_debug_dll_entry:false
};
static NO_COPY wincaps wincap_nt4sp4 = {
@@ -395,7 +403,8 @@ static NO_COPY wincaps wincap_nt4sp4 = {
needs_memory_protection:true,
pty_needs_alloc_console:true,
has_terminal_services:false,
- has_switch_to_thread:true
+ has_switch_to_thread:true,
+ cant_debug_dll_entry:false
};
static NO_COPY wincaps wincap_2000 = {
@@ -438,7 +447,8 @@ static NO_COPY wincaps wincap_2000 = {
needs_memory_protection:true,
pty_needs_alloc_console:true,
has_terminal_services:true,
- has_switch_to_thread:true
+ has_switch_to_thread:true,
+ cant_debug_dll_entry:false
};
static NO_COPY wincaps wincap_xp = {
@@ -481,7 +491,8 @@ static NO_COPY wincaps wincap_xp = {
needs_memory_protection:true,
pty_needs_alloc_console:true,
has_terminal_services:true,
- has_switch_to_thread:true
+ has_switch_to_thread:true,
+ cant_debug_dll_entry:false
};
static NO_COPY wincaps wincap_2003 = {
@@ -524,7 +535,8 @@ static NO_COPY wincaps wincap_2003 = {
needs_memory_protection:true,
pty_needs_alloc_console:true,
has_terminal_services:true,
- has_switch_to_thread:true
+ has_switch_to_thread:true,
+ cant_debug_dll_entry:false
};
wincapc wincap;