aboutsummaryrefslogtreecommitdiff
path: root/gdb/windows-nat.c
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2009-02-24 15:27:58 +0000
committerPierre Muller <muller@sourceware.org>2009-02-24 15:27:58 +0000
commit02529b48440347f8398a73ecbdae07a491ec370c (patch)
treec2c73ef246b1b2cb91b89fc8de14a5162dae4cd9 /gdb/windows-nat.c
parent9420679091f2b8ff96f05f4c00ccb30008fb131a (diff)
downloadgdb-02529b48440347f8398a73ecbdae07a491ec370c.zip
gdb-02529b48440347f8398a73ecbdae07a491ec370c.tar.gz
gdb-02529b48440347f8398a73ecbdae07a491ec370c.tar.bz2
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.
Diffstat (limited to 'gdb/windows-nat.c')
-rw-r--r--gdb/windows-nat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c
index 0a9bd59..67f0c99 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));
}