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'.
This commit is contained in:
Yao Qi
2012-08-28 16:53:30 +00:00
parent fb048c26f1
commit 18c1b81abe
5 changed files with 23 additions and 38 deletions

View File

@ -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, ...)