aboutsummaryrefslogtreecommitdiff
path: root/gdb/win32-nat.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1999-01-19 02:17:00 +0000
committerAndrew Cagney <cagney@redhat.com>1999-01-19 02:17:00 +0000
commitbc8bd256d091376f708bdd7119b145407a3614b2 (patch)
tree1b1d86da49ee83edefa170d7b3e9db5e57c1824c /gdb/win32-nat.c
parentab0e22180ab6e94ec2e4562cac1191436410cc03 (diff)
downloadgdb-bc8bd256d091376f708bdd7119b145407a3614b2.zip
gdb-bc8bd256d091376f708bdd7119b145407a3614b2.tar.gz
gdb-bc8bd256d091376f708bdd7119b145407a3614b2.tar.bz2
HPMERGE:
More wrong uses of gdb_stderr and stderr/stdout. More upddates to calls of catch_errors() so that call matches new interface.
Diffstat (limited to 'gdb/win32-nat.c')
-rw-r--r--gdb/win32-nat.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/win32-nat.c b/gdb/win32-nat.c
index e0f07ef..47dbc55 100644
--- a/gdb/win32-nat.c
+++ b/gdb/win32-nat.c
@@ -64,7 +64,7 @@
extern struct target_ops child_ops;
static void child_stop PARAMS ((void));
-static int child_thread_alive PARAMS ((int));
+static int win32_child_thread_alive PARAMS ((int));
static int last_sig = 0; /* Set if a signal was received from the
debugged process */
@@ -302,7 +302,7 @@ child_store_inferior_registers (int r)
of error; store status through argument pointer OURSTATUS. */
static int
-handle_load_dll (char *dummy)
+handle_load_dll (PTR dummy)
{
LOAD_DLL_DEBUG_INFO * event = &current_event.u.LoadDll;
DWORD dll_name_ptr;
@@ -1033,7 +1033,7 @@ static void init_child_ops(void)
child_ops.to_mourn_inferior = child_mourn_inferior;
child_ops.to_can_run = child_can_run;
child_ops.to_notice_signals = 0;
- child_ops.to_thread_alive = child_thread_alive;
+ child_ops.to_thread_alive = win32_child_thread_alive;
child_ops.to_stop = child_stop;
child_ops.to_stratum = process_stratum;
child_ops.DONT_USE = 0;
@@ -1102,7 +1102,7 @@ _initialize_inftarg ()
by "polling" it. If WaitForSingleObject returns WAIT_OBJECT_0
it means that the pid has died. Otherwise it is assumed to be alive. */
static int
-child_thread_alive (int pid)
+win32_child_thread_alive (int pid)
{
return WaitForSingleObject(thread_rec (pid, FALSE)->h, 0) == WAIT_OBJECT_0 ?
FALSE : TRUE;