diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-10-11 05:26:25 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-10-11 05:26:25 +0000 |
commit | 7710980469e6ac66a7f949cee6d025069413485b (patch) | |
tree | 4d9caf8aa0993a3dc9a985d4520df262264a0b0d | |
parent | 2ad770c3805fe1546fb9ca004db785dcdc5966df (diff) | |
download | gdb-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/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/ada-lang.c | 4 |
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, ...) { |