Add detection of IMB and IMBRange SWIs.
[deliverable/binutils-gdb.git] / gdb / ser-e7kpc.c
index 4997ba275b0e9c6f7a73e0c1ed272440b8d05feb..fae08594c0660250055dfc9122214af5fcc4013f 100644 (file)
@@ -1,22 +1,21 @@
 /* Remote serial interface using Hitachi E7000 PC ISA card in a PC
+   Copyright 1994, 1999 Free Software Foundation, Inc.
 
-   Copyright 1994 Free Software Foundation, Inc.
+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.  */
 
 #if defined __GO32__ || defined _WIN32
 #include "defs.h"
@@ -301,7 +300,7 @@ dosasync_write (fd, buf, len)
   ((short *)dummy)[3] = 0;
   for (i = 0; i < len ; i++) 
     {
-      dummy[8 + i ^ 1] = buf[i];
+      dummy[(8 + i) ^ 1] = buf[i];
     }
 
   /* Wait for the card to get ready */
This page took 0.024295 seconds and 4 git commands to generate.