2005-02-11 Andrew Cagney <cagney@gnu.org>
[deliverable/binutils-gdb.git] / gdb / ocd.c
index 3e79a427f20f8efd00e686d4dacfe86eec2763ff..cda20e87c95d6e7ecb2fb8736b7d2d10e18d1d20 100644 (file)
--- a/gdb/ocd.c
+++ b/gdb/ocd.c
@@ -746,7 +746,7 @@ readchar (int timeout)
     case SERIAL_EOF:
       error (_("Remote connection closed"));
     case SERIAL_ERROR:
-      perror_with_name ("Remote communication error");
+      perror_with_name (_("Remote communication error"));
     case SERIAL_TIMEOUT:
     default:
       return ch;
@@ -786,7 +786,7 @@ ocd_put_packet (unsigned char *buf, int len)
 
   *packet_ptr++ = -checksum;
   if (serial_write (ocd_desc, packet, packet_ptr - packet))
-    perror_with_name ("output_packet: write failed");
+    perror_with_name (_("output_packet: write failed"));
 }
 
 /* Get a packet from the OCD device.  Timeout is only enforced for the
This page took 0.026218 seconds and 4 git commands to generate.