context if __COPY_CONTEXT_SIZE is not defined.
(handle_output_debug_string): Ditto.
+2006-04-10 Christopher Faylor <cgf@timesys.com>
+
+ * win32-nat.c (do_win32_fetch_inferior_registers): Don't do anything
+ with saved context if __COPY_CONTEXT_SIZE is not defined.
+ (handle_output_debug_string): Ditto.
+
2006-04-10 Daniel Jacobowitz <dan@codesourcery.com>
* arm-linux-tdep.c (arm_linux_extract_return_value): Use gdb_byte.
if (current_thread->reload_context)
{
+#ifdef __COPY_CONTEXT_SIZE
if (have_saved_context)
{
/* Lie about where the program actually is stopped since cygwin has informed us that
have_saved_context = 0;
}
else
+#endif
{
thread_info *th = current_thread;
th->context.ContextFlags = CONTEXT_DEBUGGER_DR;
if (strncmp (s, "cYg", 3) != 0)
warning (("%s"), s);
}
+#ifdef __COPY_CONTEXT_SIZE
else
{
/* Got a cygwin signal marker. A cygwin signal is followed by the signal number
current_event.dwThreadId = retval;
}
}
+#endif
if (s)
xfree (s);
if (current_thread->reload_context)
{
+#ifdef __COPY_CONTEXT_SIZE
if (have_saved_context)
{
/* Lie about where the program actually is stopped since cygwin has informed us that
have_saved_context = 0;
}
else
+#endif
{
thread_info *th = current_thread;
th->context.ContextFlags = CONTEXT_DEBUGGER_DR;
if (strncmp (s, "cYg", 3) != 0)
warning (("%s"), s);
}
+#ifdef __COPY_CONTEXT_SIZE
else
{
/* Got a cygwin signal marker. A cygwin signal is followed by the signal number
current_event.dwThreadId = retval;
}
}
+#endif
if (s)
xfree (s);