summaryrefslogtreecommitdiff
path: root/gdb/gdbserver/ax.c
diff options
context:
space:
mode:
authorqiyao <qiyao>2012-08-28 16:53:30 +0000
committerqiyao <qiyao>2012-08-28 16:53:30 +0000
commit0bfcd6c3d033346498f5864ff3dca0432a6179b1 (patch)
tree0aad5a4647acccb41bc5d8bca411e74dc60c4b08 /gdb/gdbserver/ax.c
parente708fd7bb60194f33821e762cef4d5d2b0d04d1c (diff)
downloadgdb-0bfcd6c3d033346498f5864ff3dca0432a6179b1.tar.gz
gdb/gdbserver/
* ax.c, tracepoint.c: Replace ATTR_FORMAT with ATTRIBUTE_PRINTF. * server.h: Include 'libiberty.h' and 'ansidecl.h'. (ATTR_NORETURN, ATTR_FORMAT, ATTR_MALLOC): Remove. Remove declarations of xmalloc, xreallloc, xstrdup and freeargv. * Makefile.in (libiberty_h): New. (server_h): Append dependencies 'libiberty.h' and 'ansidecl.h'. (linux-bfin-low.o): Append dependency 'libiberty.h'.
Diffstat (limited to 'gdb/gdbserver/ax.c')
-rw-r--r--gdb/gdbserver/ax.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbserver/ax.c b/gdb/gdbserver/ax.c
index 70e93222e0a..df49d00f77a 100644
--- a/gdb/gdbserver/ax.c
+++ b/gdb/gdbserver/ax.c
@@ -20,7 +20,7 @@
#include "ax.h"
#include "format.h"
-static void ax_vdebug (const char *, ...) ATTR_FORMAT (printf, 1, 2);
+static void ax_vdebug (const char *, ...) ATTRIBUTE_PRINTF (1, 2);
#ifdef IN_PROCESS_AGENT
int debug_agent = 0;