diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-03-23 17:38:13 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-03-23 17:38:13 +0000 |
commit | 823ca731ed62b553ee30c61c93e8e97a86eee562 (patch) | |
tree | 577edb638d62fb735e4672ebb8401c6ee279371a /gdb/defs.h | |
parent | 294b41b344851e9bd963817c555a4e5ace97863d (diff) | |
download | gdb-823ca731ed62b553ee30c61c93e8e97a86eee562.zip gdb-823ca731ed62b553ee30c61c93e8e97a86eee562.tar.gz gdb-823ca731ed62b553ee30c61c93e8e97a86eee562.tar.bz2 |
* defs.h (error): Add printf format attribute.
* thread-db.c (thread_from_lwp): Fix error format string.
* stack.c (parse_frame_specification): Ditto.
* cli/cli-decode.c (undef_cmd_error): Ditto.
* scm-lang.c (scm_lookup_name): Ditto.
* tracepoint.c (trace_error): Ditto.
* remote-utils.c (usage): Ditto.
* remote.c (compare_sections_command): Ditto.
Fix PR gdb/328.
Diffstat (limited to 'gdb/defs.h')
-rw-r--r-- | gdb/defs.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -866,7 +866,7 @@ extern char *warning_pre_print; extern NORETURN void verror (const char *fmt, va_list ap) ATTR_NORETURN; -extern NORETURN void error (const char *fmt, ...) ATTR_NORETURN; +extern NORETURN void error (const char *fmt, ...) ATTR_NORETURN ATTR_FORMAT (printf, 1, 2); extern NORETURN void error_stream (struct ui_file *) ATTR_NORETURN; |