diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-08-05 02:44:50 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-08-05 02:44:50 +0000 |
commit | ab4e3d93a0586b8b95213f7255b91fc056d82fd9 (patch) | |
tree | 62fe4da74d18451b09665b75ce282a2736b67d3b /gdb/monitor.h | |
parent | 1062ca825eafee452642a6d258c2b56ecac1aade (diff) | |
download | binutils-ab4e3d93a0586b8b95213f7255b91fc056d82fd9.zip binutils-ab4e3d93a0586b8b95213f7255b91fc056d82fd9.tar.gz binutils-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/monitor.h')
-rw-r--r-- | gdb/monitor.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gdb/monitor.h b/gdb/monitor.h index 9141450..2f8ca22 100644 --- a/gdb/monitor.h +++ b/gdb/monitor.h @@ -245,8 +245,12 @@ extern void monitor_close (int quitting); extern char *monitor_supply_register (int regno, char *valstr); extern int monitor_expect (char *prompt, char *buf, int buflen); extern int monitor_expect_prompt (char *buf, int buflen); -extern void monitor_printf (char *, ...) ATTR_FORMAT (printf, 1, 2); -extern void monitor_printf_noecho (char *, ...) ATTR_FORMAT (printf, 1, 2); +/* Note: The variable argument functions monitor_printf and + monitor_printf_noecho vararg do not take take standard format style + arguments. Instead they take custom formats interpretered directly + by monitor_vsprintf. */ +extern void monitor_printf (char *, ...); +extern void monitor_printf_noecho (char *, ...); extern void monitor_write (char *buf, int buflen); extern int monitor_readchar (void); extern char *monitor_get_dev_name (void); |