aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMircea Gherzan <mgherzan@sourceware.org>2013-07-02 11:59:24 +0000
committerMircea Gherzan <mgherzan@sourceware.org>2013-07-02 11:59:24 +0000
commit7a9a7487439ea0cfcb53dcd516ad4b28097adfc3 (patch)
tree7e5b12afc79c0faa10cbfe51b6610b720f7c7be5 /gdb
parent49b64de6e430e38adcc791398f81a9da0aa95a03 (diff)
downloadgdb-7a9a7487439ea0cfcb53dcd516ad4b28097adfc3.zip
gdb-7a9a7487439ea0cfcb53dcd516ad4b28097adfc3.tar.gz
gdb-7a9a7487439ea0cfcb53dcd516ad4b28097adfc3.tar.bz2
gdbserver, win32: fix some function typedefs
2013-05-25 Mircea Gherzan <mircea.gherzan@intel.com> gdbserver/ * win32-low.c (winapi_DebugActiveProcessStop): Move the WINAPI attribute inside the parentheses. (winapi_DebugSetProcessKillOnExit): Ditto. (winapi_DebugBreakProcess): Ditto. (winapi_GenerateConsoleCtrlEvent): Ditto. Change-Id: I3aab72f2a1725a46b9da0e41a4ba08d7886284b9 Signed-off-by: Mircea Gherzan <mircea.gherzan@intel.com>
Diffstat (limited to 'gdb')
-rw-r--r--gdb/gdbserver/ChangeLog8
-rw-r--r--gdb/gdbserver/win32-low.c8
2 files changed, 12 insertions, 4 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index e416a26..7171cfa 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,5 +1,13 @@
2013-07-02 Mircea Gherzan <mircea.gherzan@intel.com>
+ * win32-low.c (winapi_DebugActiveProcessStop): Move the WINAPI
+ attribute inside the parentheses.
+ (winapi_DebugSetProcessKillOnExit): Ditto.
+ (winapi_DebugBreakProcess): Ditto.
+ (winapi_GenerateConsoleCtrlEvent): Ditto.
+
+2013-07-02 Mircea Gherzan <mircea.gherzan@intel.com>
+
* notif.h (notif_event): Add a dummy member to avoid compiler
errors.
diff --git a/gdb/gdbserver/win32-low.c b/gdb/gdbserver/win32-low.c
index 30fd1e7..4e87a43 100644
--- a/gdb/gdbserver/win32-low.c
+++ b/gdb/gdbserver/win32-low.c
@@ -90,10 +90,10 @@ const struct target_desc *win32_tdesc;
#define NUM_REGS (the_low_target.num_regs)
-typedef BOOL WINAPI (*winapi_DebugActiveProcessStop) (DWORD dwProcessId);
-typedef BOOL WINAPI (*winapi_DebugSetProcessKillOnExit) (BOOL KillOnExit);
-typedef BOOL WINAPI (*winapi_DebugBreakProcess) (HANDLE);
-typedef BOOL WINAPI (*winapi_GenerateConsoleCtrlEvent) (DWORD, DWORD);
+typedef BOOL (WINAPI *winapi_DebugActiveProcessStop) (DWORD dwProcessId);
+typedef BOOL (WINAPI *winapi_DebugSetProcessKillOnExit) (BOOL KillOnExit);
+typedef BOOL (WINAPI *winapi_DebugBreakProcess) (HANDLE);
+typedef BOOL (WINAPI *winapi_GenerateConsoleCtrlEvent) (DWORD, DWORD);
static void win32_resume (struct thread_resume *resume_info, size_t n);