From 7710980469e6ac66a7f949cee6d025069413485b Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Mon, 11 Oct 2004 05:26:25 +0000 Subject: [PATCH] 2004-10-10 Andrew Cagney * ada-lang.c (lim_warning): Add ATTR_FORMAT prototype and FIXME comment. --- gdb/ChangeLog | 5 +++++ gdb/ada-lang.c | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 81f25f8e45d..0a733222b24 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2004-10-10 Andrew Cagney + + * ada-lang.c (lim_warning): Add ATTR_FORMAT prototype and FIXME + comment. + 2004-10-10 Joel Brobecker * mips-tdep.c (mips16_scan_prologue): Remove redundant code. diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c index bcbb3d0ed9f..5d88cf9eb2c 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, ...) { -- 2.30.2