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.
This commit is contained in:
Andrew Cagney
2003-08-05 02:44:50 +00:00
parent 1062ca825e
commit ab4e3d93a0
5 changed files with 18 additions and 7 deletions

View File

@@ -483,7 +483,7 @@ mips_error (char *string,...)
wrap_here (""); /* Force out any buffered output */
gdb_flush (gdb_stdout);
if (error_pre_print)
fprintf_filtered (gdb_stderr, error_pre_print);
fputs_filtered (error_pre_print, gdb_stderr);
vfprintf_filtered (gdb_stderr, string, args);
fprintf_filtered (gdb_stderr, "\n");
va_end (args);