diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2005-12-27 20:20:09 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2005-12-27 20:20:09 +0000 |
commit | a5912e6dbcd831d1d15c161d252c19ceea45f913 (patch) | |
tree | b546d08e0e384c083672ebc0005b7e9b236c535c /winsup/cygwin/exceptions.cc | |
parent | 4f122755019ae56abf2af352b9f985184818d0f8 (diff) | |
download | cygnal-a5912e6dbcd831d1d15c161d252c19ceea45f913.tar.gz cygnal-a5912e6dbcd831d1d15c161d252c19ceea45f913.tar.bz2 cygnal-a5912e6dbcd831d1d15c161d252c19ceea45f913.zip |
* exceptions.cc (inside_kernel): Rename from interruptible.
Accommodate change throughout file.
Diffstat (limited to 'winsup/cygwin/exceptions.cc')
-rw-r--r-- | winsup/cygwin/exceptions.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc index cca745764..e13f6fa54 100644 --- a/winsup/cygwin/exceptions.cc +++ b/winsup/cygwin/exceptions.cc @@ -287,7 +287,7 @@ stackdump (DWORD ebp, int open_file, bool isexception) } static bool -interruptible (CONTEXT *cx) +inside_kernel (CONTEXT *cx) { int res; MEMORY_BASIC_INFORMATION m; @@ -620,7 +620,7 @@ _cygtls::handle_exceptions (EXCEPTION_RECORD *e, exception_list *frame, CONTEXT error_code |= 1; if (e->ExceptionInformation[0]) /* Write access */ error_code |= 2; - if (!interruptible (in)) /* User space */ + if (!inside_kernel (in)) /* User space */ error_code |= 4; klog (LOG_INFO, "%s[%d]: segfault at %08x rip %08x rsp %08x error %d", __progname, myself->pid, @@ -725,7 +725,7 @@ _cygtls::interrupt_now (CONTEXT *cx, int sig, void *handler, { bool interrupted; - if (!interruptible (cx) || (incyg || spinning || locked ())) + if (!inside_kernel (cx) || (incyg || spinning || locked ())) interrupted = false; else { |