From: "Kai Tietz" <ktietz70@googlemail.com>
To: gdb-patches@sourceware.org
Subject: [patch]: Fix build for w64 in ser-mingw.c
Date: Wed, 14 Jan 2009 19:55:00 -0000 [thread overview]
Message-ID: <90baa01f0901141154l3d07a26cu67b976a44d39a8fb@mail.gmail.com> (raw)
Hello,
while testing the gdb support for the new w64 I found a problem in
mingw-ser.c, which produced warnings about functions that aren't
returning, but have a return type specified.
ChangeLog
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.
Tested on x86_64-pc-mingw32 and for i686-pc-cygwin
Ok for apply?
Cheers,
Kai
--
| (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination
Index: src/gdb/ser-mingw.c
===================================================================
--- src.orig/gdb/ser-mingw.c
+++ src/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
next reply other threads:[~2009-01-14 19:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-14 19:55 Kai Tietz [this message]
2009-01-14 20:06 ` Pedro Alves
2009-01-14 20:23 ` Kai Tietz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=90baa01f0901141154l3d07a26cu67b976a44d39a8fb@mail.gmail.com \
--to=ktietz70@googlemail.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox