* 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.
This commit is contained in:
Andrew Cagney 2002-03-23 17:38:13 +00:00
parent 294b41b344
commit 823ca731ed
9 changed files with 21 additions and 9 deletions

View file

@ -86,7 +86,7 @@ usage (char *proto, char *junk)
fprintf_unfiltered (gdb_stderr, "Unrecognized arguments: `%s'.\n", junk);
error ("Usage: target %s [DEVICE [SPEED [DEBUG]]]\n\
where DEVICE is the name of a device or HOST:PORT", proto, proto);
where DEVICE is the name of a device or HOST:PORT", proto);
return;
}