Accommodate change throughout file.
2005-12-27 Corinna Vinschen <corinna@vinschen.de>
+ * exceptions.cc (inside_kernel): Rename from interruptible.
+ Accommodate change throughout file.
+
+2005-12-27 Corinna Vinschen <corinna@vinschen.de>
+
* exceptions.cc (interruptible): New function, code stripped from
_cygtls::interrupt_now.
(_cygtls::handle_exceptions): Handle STATUS_DATATYPE_MISALIGNMENT as
}
static bool
-interruptible (CONTEXT *cx)
+inside_kernel (CONTEXT *cx)
{
int res;
MEMORY_BASIC_INFORMATION m;
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,
{
bool interrupted;
- if (!interruptible (cx) || (incyg || spinning || locked ()))
+ if (!inside_kernel (cx) || (incyg || spinning || locked ()))
interrupted = false;
else
{