* inftarg.c (child_thread_alive): New function to see if a
[deliverable/binutils-gdb.git] / gdb / remote-est.c
index 83e57563fbe273be987f4c9a72471a4ad6e6ac27..6074ee0a6b580fe7a79e7d51515c6405f8bc3a1a 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., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 #include "defs.h"
 #include "gdbcore.h"
@@ -92,9 +92,6 @@ 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};
 
@@ -104,6 +101,7 @@ static struct monitor_ops est_cmds =
   est_inits,                   /* Init strings */
   "go\r",                      /* continue command */
   "sidr\r",                    /* single step */
+  "\003",                      /* ^C interrupts the program */
   "sb %x\r",                   /* set a breakpoint */
   "rb %x\r",                   /* clear a breakpoint */
   "rb\r",                      /* clear all breakpoints */
@@ -141,21 +139,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.024799 seconds and 4 git commands to generate.