mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-14 19:38:01 +08:00
* 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:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user