Fix windows-nat.c compilation failure.

* windows-nat.c (windows_thread_alive): Fix forward declaration.
	(get_windows_debug_event): Add ops parameter to call to windows_resume.
This commit is contained in:
Pierre Muller 2009-02-24 15:27:58 +00:00
parent 9420679091
commit 02529b4844
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,11 @@
2009-02-24 Pierre Muller <muller@ics.u-strasbg.fr>
Fix windows-nat.c compilation failure.
* windows-nat.c (windows_thread_alive): Fix forward declaration.
(get_windows_debug_event): Add ops parameter to call to windows_resume.
2009-02-23 Pedro Alves <pedro@codesourcery.com>
* remote-sim.c (gdbsim_resume): Add target_ops* argument.

View File

@ -113,7 +113,7 @@ static int debug_registers_used;
#define DEBUG_EXCEPT(x) if (debug_exceptions) printf_unfiltered x
static void windows_stop (ptid_t);
static int windows_thread_alive (ptid_t);
static int windows_thread_alive (struct target_ops *, ptid_t);
static void windows_kill_inferior (void);
static enum target_signal last_sig = TARGET_SIGNAL_0;
@ -1432,7 +1432,7 @@ get_windows_debug_event (struct target_ops *ops,
if (!retval || saw_create != 1)
{
if (continue_status == -1)
windows_resume (minus_one_ptid, 0, 1);
windows_resume (ops, minus_one_ptid, 0, 1);
else
CHECK (windows_continue (continue_status, -1));
}