aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/tracepoint.c
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2012-08-28 16:53:30 +0000
committerYao Qi <yao@codesourcery.com>2012-08-28 16:53:30 +0000
commit18c1b81abee59b25ba6b68f7c715843b870f9bc6 (patch)
tree5513d7b8b01384ef409830cee4d2bc4c9a6a9aa3 /gdb/gdbserver/tracepoint.c
parentfb048c26f19fec860e5e9004351307ed22fe1a11 (diff)
downloadgdb-18c1b81abee59b25ba6b68f7c715843b870f9bc6.zip
gdb-18c1b81abee59b25ba6b68f7c715843b870f9bc6.tar.gz
gdb-18c1b81abee59b25ba6b68f7c715843b870f9bc6.tar.bz2
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/tracepoint.c')
-rw-r--r--gdb/gdbserver/tracepoint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbserver/tracepoint.c b/gdb/gdbserver/tracepoint.c
index 7ad77f0..1bc563d 100644
--- a/gdb/gdbserver/tracepoint.c
+++ b/gdb/gdbserver/tracepoint.c
@@ -57,7 +57,7 @@
*/
-static void trace_vdebug (const char *, ...) ATTR_FORMAT (printf, 1, 2);
+static void trace_vdebug (const char *, ...) ATTRIBUTE_PRINTF (1, 2);
static void
trace_vdebug (const char *fmt, ...)