aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-10-11 05:26:25 +0000
committerAndrew Cagney <cagney@redhat.com>2004-10-11 05:26:25 +0000
commit7710980469e6ac66a7f949cee6d025069413485b (patch)
tree4d9caf8aa0993a3dc9a985d4520df262264a0b0d
parent2ad770c3805fe1546fb9ca004db785dcdc5966df (diff)
downloadgdb-7710980469e6ac66a7f949cee6d025069413485b.zip
gdb-7710980469e6ac66a7f949cee6d025069413485b.tar.gz
gdb-7710980469e6ac66a7f949cee6d025069413485b.tar.bz2
2004-10-10 Andrew Cagney <cagney@gnu.org>
* ada-lang.c (lim_warning): Add ATTR_FORMAT prototype and FIXME comment.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/ada-lang.c4
2 files changed, 9 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 81f25f8..0a73322 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2004-10-10 Andrew Cagney <cagney@gnu.org>
+
+ * ada-lang.c (lim_warning): Add ATTR_FORMAT prototype and FIXME
+ comment.
+
2004-10-10 Joel Brobecker <brobecker@gnat.com>
* mips-tdep.c (mips16_scan_prologue): Remove redundant code.
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c
index bcbb3d0..5d88cf9 100644
--- a/gdb/ada-lang.c
+++ b/gdb/ada-lang.c
@@ -478,6 +478,10 @@ cond_offset_target (CORE_ADDR address, long offset)
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, ...)
{