aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-utils.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-03-23 17:38:13 +0000
committerAndrew Cagney <cagney@redhat.com>2002-03-23 17:38:13 +0000
commit823ca731ed62b553ee30c61c93e8e97a86eee562 (patch)
tree577edb638d62fb735e4672ebb8401c6ee279371a /gdb/remote-utils.c
parent294b41b344851e9bd963817c555a4e5ace97863d (diff)
downloadgdb-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/remote-utils.c')
-rw-r--r--gdb/remote-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote-utils.c b/gdb/remote-utils.c
index e703f3d..ba150e3 100644
--- a/gdb/remote-utils.c
+++ b/gdb/remote-utils.c
@@ -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;
}