aboutsummaryrefslogtreecommitdiff
path: root/gdb/ocd.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-08-05 02:44:50 +0000
committerAndrew Cagney <cagney@redhat.com>2003-08-05 02:44:50 +0000
commitab4e3d93a0586b8b95213f7255b91fc056d82fd9 (patch)
tree62fe4da74d18451b09665b75ce282a2736b67d3b /gdb/ocd.c
parent1062ca825eafee452642a6d258c2b56ecac1aade (diff)
downloadgdb-ab4e3d93a0586b8b95213f7255b91fc056d82fd9.zip
gdb-ab4e3d93a0586b8b95213f7255b91fc056d82fd9.tar.gz
gdb-ab4e3d93a0586b8b95213f7255b91fc056d82fd9.tar.bz2
2003-08-04 Andrew Cagney <cagney@redhat.com>
* monitor.h (monitor_dump_reg_block): Remove ATTR_FORMAT. * cli/cli-script.c (define_command): Call query directly, instead of passing it a buffer. * ocd.c (ocd_error): Pass error a constant format string. * remote-mips.c (mips_error): Use fputs_filtered.
Diffstat (limited to 'gdb/ocd.c')
-rw-r--r--gdb/ocd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ocd.c b/gdb/ocd.c
index 3c8d5d2..6b38159 100644
--- a/gdb/ocd.c
+++ b/gdb/ocd.c
@@ -146,7 +146,7 @@ ocd_error (char *s, int error_code)
s = buf;
}
- error (s);
+ error ("%s", s);
}
/* Return nonzero if the thread TH is still alive on the remote system. */