summaryrefslogtreecommitdiff
path: root/gdb/monitor.h
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
commit19842fe9a00159d9cb20ff3dc43bb0d0cda40452 (patch)
treea0d7ff144deb1c50d5d0e80dd940a29686edd0c5 /gdb/monitor.h
parent6fb473cee09e60c9fffe9604358d0bc5f10cf6c3 (diff)
downloadgdb-19842fe9a00159d9cb20ff3dc43bb0d0cda40452.tar.gz
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.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/gdb/monitor.h b/gdb/monitor.h
index 9141450d6ac..2f8ca22a454 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);