From a778ab81e80a778f4d9b0cf754aa6dc956bdcfd2 Mon Sep 17 00:00:00 2001 From: gdbadmin Date: Wed, 1 Sep 2010 17:29:32 +0000 Subject: [gdbserver] Move malloc.h include to server.h. This patch moves all includes of malloc.h, which were introduced purely to get access to alloca's declaration, to server.h, next to the include of alloca.h. There is one exception: gdbreplay.c, which does not include server.h. In this case, the include of alloca.h was simply moved up a bit, next to the include of malloc.h. gdb/gdbserver/ChangeLog: * gdbreplay.c: Move include of alloca.h up, next to include of malloc.h. * server.h: Add include of malloc.h. * mem-break.c: Remove include of malloc.h. * server.c, tracepoint.c, utils.c, win32-low.c: Likewise. --- gdb/gdbserver/win32-low.c | 1 - 1 file changed, 1 deletion(-) (limited to 'gdb/gdbserver/win32-low.c') diff --git a/gdb/gdbserver/win32-low.c b/gdb/gdbserver/win32-low.c index dd26d73..5aea8b9 100644 --- a/gdb/gdbserver/win32-low.c +++ b/gdb/gdbserver/win32-low.c @@ -31,7 +31,6 @@ #include #include #include -#include #include #ifndef USE_WIN32API -- cgit v1.1