From: Pierre Muller Date: Tue, 24 Feb 2009 15:27:58 +0000 (+0000) Subject: Fix windows-nat.c compilation failure. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=02529b48440347f8398a73ecbdae07a491ec370c;p=binutils-gdb.git 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. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1e5b8857353..dc355a0a3d6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,11 @@ +2009-02-24 Pierre Muller + + 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 * remote-sim.c (gdbsim_resume): Add target_ops* argument. diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index 0a9bd59930b..67f0c99599a 100644 --- a/gdb/windows-nat.c +++ b/gdb/windows-nat.c @@ -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)); }