summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Tietz <kai.tietz@onevision.com>2009-01-14 20:21:09 +0000
committerKai Tietz <kai.tietz@onevision.com>2009-01-14 20:21:09 +0000
commit7b9ddb80ce43d46a1362b3446c122b5d2059a790 (patch)
treec56832d4d87c11f857da3f510b61ab9e531d883f
parent6de4ebe01d8ec1c109121e6f4f0ba4a6aa8c844d (diff)
downloadgdb-7b9ddb80ce43d46a1362b3446c122b5d2059a790.tar.gz
2009-01-14 Kai Tietz <kai.tietz@onevision.com>
* mingw-ser.c (console_select_thread): Add return to make compiler happy. (pipe_select_thread): Likewise. (file_select_thread): Likewise.
-rw-r--r--gdb/ChangeLog7
-rw-r--r--gdb/ser-mingw.c3
2 files changed, 10 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index cbcd0e6b9f3..05662356915 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,10 @@
+2009-01-14 Kai Tietz <kai.tietz@onevision.com>
+
+ * mingw-ser.c (console_select_thread): Add return to make
+ compiler happy.
+ (pipe_select_thread): Likewise.
+ (file_select_thread): Likewise.
+
2009-01-14 Pedro Alves <pedro@codesourcery.com>
* mi/mi-main.c (mi_cmd_execute): Clean up parenthesis mess from
diff --git a/gdb/ser-mingw.c b/gdb/ser-mingw.c
index 7ed48c4ce95..3b3e2734d4f 100644
--- a/gdb/ser-mingw.c
+++ b/gdb/ser-mingw.c
@@ -573,6 +573,7 @@ console_select_thread (void *arg)
SetEvent(state->have_stopped);
}
+ return 0;
}
static int
@@ -633,6 +634,7 @@ pipe_select_thread (void *arg)
SetEvent (state->have_stopped);
}
+ return 0;
}
static DWORD WINAPI
@@ -657,6 +659,7 @@ file_select_thread (void *arg)
SetEvent (state->have_stopped);
}
+ return 0;
}
static void