*** empty log message ***
[deliverable/binutils-gdb.git] / gdb / ser-e7kpc.c
index 063cca13d635d202ea80a8e533b16637be092434..4f96ff646c78eb6fb187e4394fd88fe028370799 100644 (file)
@@ -1,5 +1,5 @@
-/* Remote serial interface using Hitachi E7000 PC ISA card in a PC
-   Copyright 1994, 1996, 1997, 1998, 1999, 2000
+/* Remote serial interface using Renesas E7000 PC ISA card in a PC
+   Copyright (C) 1994, 1996, 1997, 1998, 1999, 2000, 2007
    Free Software Foundation, Inc.
 
    This file is part of GDB.
 
    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.  */
+   Foundation, Inc., 51 Franklin Street, Fifth Floor,
+   Boston, MA 02110-1301, USA.  */
 
-#if defined __GO32__ || defined _WIN32
 #include "defs.h"
+#if defined __GO32__ || defined _WIN32
 #include "serial.h"
 #include "gdb_string.h"
 
 #include <sys/dos.h>
 #endif
 
+#ifdef HAVE_TIME_H
+#include <time.h>
+#endif
+
 static int e7000pc_open (struct serial *scb, const char *name);
 static void e7000pc_raw (struct serial *scb);
 static int e7000pc_readchar (struct serial *scb, int timeout);
@@ -164,16 +168,16 @@ e7000pc_init (void)
                               sigs[try].addr);
              return 1;
            }
-         error ("The E7000 PC board is working, but the E7000 is turned off.\n");
+         error (_("The E7000 PC board is working, but the E7000 is turned off."));
          return 0;
        }
     }
 
-  error ("GDB cannot connect to the E7000 PC board, check that it is installed\n\
+  error (_("GDB cannot connect to the E7000 PC board, check that it is installed\n\
 and that the switch settings are correct.  Some other DOS programs can \n\
 stop the board from working.  Try starting from a very minimal boot, \n\
 perhaps you need to disable EMM386 over the region where the board has\n\
-its I/O space, remove other unneeded cards, etc etc\n");
+its I/O space, remove other unneeded cards, etc etc\n"));
   return 0;
 
 }
@@ -425,6 +429,8 @@ static struct serial_ops e7000pc_ops =
 
 #endif /*_WIN32 or __GO32__*/
 
+extern initialize_file_ftype _initialize_ser_e7000pc; /* -Wmissing-prototypes */
+
 void
 _initialize_ser_e7000pc (void)
 {
This page took 0.024149 seconds and 4 git commands to generate.