* gnu-v3-abi.c (gnuv3_rtti_type): Guard that vtable_symbol_name
[deliverable/binutils-gdb.git] / gdb / monitor.h
index ba44133d472ac19e454c69f6457fc0a4c7fab5c2..85a44ff7e71fbe4200cb1d563e96276cdce312ce 100644 (file)
@@ -1,5 +1,6 @@
 /* Definitions for remote debugging interface for ROM monitors.
-   Copyright 1990, 1991, 1992, 1996 Free Software Foundation, Inc.
+   Copyright 1990, 1991, 1992, 1994, 1995, 1996, 1997, 1998, 1999, 2000
+   Free Software Foundation, Inc.
    Contributed by Cygnus Support. Written by Rob Savoye for Cygnus.
 
    This file is part of GDB.
    Boston, MA 02111-1307, USA.
  */
 
-#include "serial.h"
+#ifndef MONITOR_H
+#define MONITOR_H
+
+struct serial;
 
 /* This structure describes the strings necessary to give small command
    sequences to the monitor, and parse the response.
@@ -95,16 +99,15 @@ struct monitor_ops
        GDB with the value of a register.  */
     char *dump_registers;      /* Command to dump all regs at once */
     char *register_pattern;    /* Pattern that picks out register from reg dump */
-    void (*supply_register) PARAMS ((char *name, int namelen,
-                                    char *val, int vallen));
-    void (*load_routine) PARAMS ((serial_t desc, char *file,
-                                 int hashmark));       /* Download routine */
-    int (*dumpregs) PARAMS ((void));   /* routine to dump all registers */
-    int (*continue_hook) PARAMS ((void));      /* Emit the continue command */
-    int (*wait_filter) PARAMS ((char *buf,     /* Maybe contains registers */
-                               int bufmax,
-                               int *response_length,
-                               struct target_waitstatus * status));
+    void (*supply_register) (char *name, int namelen, char *val, int vallen);
+    void (*load_routine) (struct serial *desc, char *file,
+                         int hashmark);        /* Download routine */
+    int (*dumpregs) (void);    /* routine to dump all registers */
+    int (*continue_hook) (void);       /* Emit the continue command */
+    int (*wait_filter) (char *buf,     /* Maybe contains registers */
+                       int bufmax,
+                       int *response_length,
+                       struct target_waitstatus * status);
     char *load;                        /* load command */
     char *loadresp;            /* Response to load command */
     char *prompt;              /* monitor command prompt */
@@ -247,4 +250,5 @@ 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);
+
+#endif
This page took 0.029449 seconds and 4 git commands to generate.