diff options
author | gdbadmin <gdbadmin@sourceware.org> | 2010-09-01 17:29:32 +0000 |
---|---|---|
committer | gdbadmin <gdbadmin@sourceware.org> | 2010-09-01 17:29:32 +0000 |
commit | 2f9ac29ce98919de5f01257407f53876aeb79b76 (patch) | |
tree | eeeafffaa973bfe9350b7b63fbe4698789454954 /gdb/gdbserver/win32-low.c | |
parent | 5d784f0d560e0d9c2cc49ed2755bd6becf648e1c (diff) | |
download | gdb-2f9ac29ce98919de5f01257407f53876aeb79b76.tar.gz |
[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.
Diffstat (limited to 'gdb/gdbserver/win32-low.c')
-rw-r--r-- | gdb/gdbserver/win32-low.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/gdbserver/win32-low.c b/gdb/gdbserver/win32-low.c index dd26d730b23..5aea8b94175 100644 --- a/gdb/gdbserver/win32-low.c +++ b/gdb/gdbserver/win32-low.c @@ -31,7 +31,6 @@ #include <tlhelp32.h> #include <psapi.h> #include <sys/param.h> -#include <malloc.h> #include <process.h> #ifndef USE_WIN32API |