This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[commit] Add attr format, and fixme
- From: Andrew Cagney <cagney at gnu dot org>
- To: gdb-patches at sources dot redhat dot com
- Date: Sun, 10 Oct 2004 23:50:52 -0400
- Subject: [commit] Add attr format, and fixme
FYI, Committed,
Andrew
2004-10-10 Andrew Cagney <cagney@gnu.org>
* ada-lang.c (lim_warning): Add ATTR_FORMAT prototype and FIXME
comment.
Index: ada-lang.c
===================================================================
RCS file: /cvs/src/src/gdb/ada-lang.c,v
retrieving revision 1.57
diff -p -u -r1.57 ada-lang.c
--- ada-lang.c 10 Oct 2004 16:03:23 -0000 1.57
+++ ada-lang.c 11 Oct 2004 03:29:33 -0000
@@ -478,6 +478,10 @@ cond_offset_target (CORE_ADDR address, l
number of warnings has passed during the evaluation of the current
expression. */
+/* FIXME: cagney/2004-10-10: This function is mimicking the behavior
+ provided by "complaint". */
+static void lim_warning (const char *format, ...) ATTR_FORMAT (printf,
1, 2);
+
static void
lim_warning (const char *format, ...)
{