mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-28 22:21:26 +08:00
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:
@ -1092,11 +1092,12 @@ define_command (char *comname, int from_tty)
|
||||
|
||||
if (c)
|
||||
{
|
||||
int q;
|
||||
if (c->class == class_user || c->class == class_alias)
|
||||
tem = "Redefine command \"%s\"? ";
|
||||
q = query ("Redefine command \"%s\"? ", c->name);
|
||||
else
|
||||
tem = "Really redefine built-in command \"%s\"? ";
|
||||
if (!query (tem, c->name))
|
||||
q = query ("Really redefine built-in command \"%s\"? ", c->name);
|
||||
if (!q)
|
||||
error ("Command \"%s\" not redefined.", c->name);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user