diff options
Diffstat (limited to 'gdb/monitor.h')
-rw-r--r-- | gdb/monitor.h | 30 |
1 files changed, 14 insertions, 16 deletions
diff --git a/gdb/monitor.h b/gdb/monitor.h index cef907b..ba44133 100644 --- a/gdb/monitor.h +++ b/gdb/monitor.h @@ -233,20 +233,18 @@ struct monitor_ops #define SREC_SIZE 160 -extern void monitor_open PARAMS ((char *args, struct monitor_ops * ops, - int from_tty)); -extern void monitor_close PARAMS ((int quitting)); -extern char *monitor_supply_register PARAMS ((int regno, char *valstr)); -extern int monitor_expect PARAMS ((char *prompt, char *buf, int buflen)); -extern int monitor_expect_prompt PARAMS ((char *buf, int buflen)); -extern void monitor_printf -PARAMS ((char *,...)) +extern void monitor_open (char *args, struct monitor_ops *ops, int from_tty); +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); - extern void monitor_printf_noecho PARAMS ((char *,...)) - ATTR_FORMAT (printf, 1, 2); - extern void monitor_write PARAMS ((char *buf, int buflen)); - extern int monitor_readchar PARAMS ((void)); - extern char *monitor_get_dev_name PARAMS ((void)); - extern void init_monitor_ops PARAMS ((struct target_ops *)); - extern int monitor_dump_reg_block PARAMS ((char *dump_cmd)); - extern void flush_monitor_dcache PARAMS ((void)); +extern void monitor_write (char *buf, int buflen); +extern int monitor_readchar (void); +extern char *monitor_get_dev_name (void); +extern void init_monitor_ops (struct target_ops *); +extern int monitor_dump_reg_block (char *dump_cmd); +extern void flush_monitor_dcache (void); |