* stabsread.c (get_substring): Declare second arg as int.
[deliverable/binutils-gdb.git] / gdb / remote-est.c
index c2762752968777a3fe53748cefb0bf6712dd6be0..25c25ac24cc9191317ed62eb8cbf7b6efbaffee1 100644 (file)
@@ -1,25 +1,25 @@
 /* Remote debugging interface for EST-300 ICE, for GDB
-   Copyright 1994 Free Software Foundation, Inc.
+   Copyright 1995 Free Software Foundation, Inc.
    Contributed by Cygnus Support.
 
    Written by Steve Chamberlain for Cygnus Support.
    Re-written by Stu Grossman of Cygnus Support
 
-   This file is part of GDB.
+This file is part of GDB.
 
-   This program is free software; you can redistribute it and/or modify
-   it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 2 of the License, or
-   (at your option) any later version.
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
 
-   This program is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-   GNU General Public License for more details.
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
 
-   You should have received a copy of the GNU General Public License
-   along with this program; if not, write to the Free Software
-   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
 #include "defs.h"
 #include "gdbcore.h"
@@ -92,15 +92,13 @@ static char *est_regnames[NUM_REGS] =
 
 static struct target_ops est_ops;
 
-static char *est_loadtypes[] = {"none", "srec", "default", NULL};
-static char *est_loadprotos[] = {"none", NULL};
-
 static char *est_inits[] = {"he\r", /* Resets the prompt, and clears repeated cmds */
                              NULL};
 
 static struct monitor_ops est_cmds =
 {
-  MO_CLR_BREAK_USES_ADDR | MO_FILL_USES_ADDR | MO_NEED_REGDUMP_AFTER_CONT,
+  MO_CLR_BREAK_USES_ADDR | MO_FILL_USES_ADDR | MO_NEED_REGDUMP_AFTER_CONT |
+  MO_SREC_ACK,
   est_inits,                   /* Init strings */
   "go\r",                      /* continue command */
   "sidr\r",                    /* single step */
@@ -142,21 +140,19 @@ static struct monitor_ops est_cmds =
   "dr\r",                      /* dump_registers */
   "\\(\\w+\\) = \\([0-9a-fA-F]+\\)", /* register_pattern */
   est_supply_register,         /* supply_register */
+  NULL,                                /* load_routine (defaults to SRECs) */
   "dl\r",                      /* download command */
   "+",                         /* load response */
   ">BKM>",                     /* monitor command prompt */
-  NULL,                                /* end-of-command delimitor */
+  "\r",                                /* end-of-line terminator */
   NULL,                                /* optional command terminator */
   &est_ops,                    /* target operations */
-  est_loadtypes,               /* loadtypes */
-  est_loadprotos,              /* loadprotos */
-  "9600",                      /* supported baud rates */
   SERIAL_1_STOPBITS,           /* number of stop bits */
   est_regnames,                        /* registers names */
   MONITOR_OPS_MAGIC            /* magic */
   };
 
-void
+static void
 est_open(args, from_tty)
      char *args;
      int from_tty;
This page took 0.02407 seconds and 4 git commands to generate.