* inftarg.c (child_thread_alive): New function to see if a
[deliverable/binutils-gdb.git] / gdb / monitor.h
index d4e99621569a63a4334d0cd07d20657b11df9d8f..85de892c2848814e10c1b5fd12bc61d952352f97 100644 (file)
@@ -104,12 +104,9 @@ struct monitor_ops
   char *load;                  /* load command */
   char *loadresp;              /* Response to load command */
   char *prompt;                        /* monitor command prompt */
-  char *cmd_delim;             /* end-of-command delimitor */
+  char *line_term;             /* end-of-command delimitor */
   char *cmd_end;               /* optional command terminator */
   struct target_ops *target;   /* target operations */
-  char **loadtypes;            /* the load types that are supported */
-  char **loadprotos;           /* the load protocols that are supported */
-  char *baudrates;             /* supported baud rates */
   int stopbits;                        /* number of stop bits */
   char **regnames;             /* array of register names in ascii */
   int magic;                   /* Check value */
@@ -129,6 +126,7 @@ struct monitor_ops
                                          matically supply register dump when
                                          coming back after a continue.  */
 #define MO_GETMEM_NEEDS_RANGE 0x8 /* getmem needs start addr and end addr */
+#define MO_GETMEM_READ_SINGLE 0x10 /* getmem can only read one loc at a time */
 
 extern struct monitor_ops        *current_monitor;
 
@@ -174,5 +172,8 @@ extern void monitor_open PARAMS ((char *args, struct monitor_ops *ops, int from_
 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 ();
+extern void monitor_printf PARAMS ((char *, ...))
+     ATTR_FORMAT(printf, 1, 2);
+extern void monitor_printf_noecho PARAMS ((char *, ...))
+     ATTR_FORMAT(printf, 1, 2);
 extern void init_monitor_ops PARAMS ((struct target_ops *));
This page took 0.023564 seconds and 4 git commands to generate.