aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2011-01-10 02:43:30 +0000
committerMichael Snyder <msnyder@vmware.com>2011-01-10 02:43:30 +0000
commit35ecd2d6b67dfc8ad471ad9643b2435061f64022 (patch)
treef0bbba41ebdcb66cdf65b2f6b8c12e129341032c /gdb
parentbe8dee528da689dd9ae2104018af5227fb67232d (diff)
downloadgdb-35ecd2d6b67dfc8ad471ad9643b2435061f64022.zip
gdb-35ecd2d6b67dfc8ad471ad9643b2435061f64022.tar.gz
gdb-35ecd2d6b67dfc8ad471ad9643b2435061f64022.tar.bz2
2011-01-08 Michael Snyder <msnyder@vmware.com>
* m32r-rom.c (m32r_upload_command): Fix up ARI warnings for _ markup.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/m32r-rom.c18
2 files changed, 14 insertions, 9 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index d0cd0cd..d0d762d 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2011-01-08 Michael Snyder <msnyder@vmware.com>
+ * m32r-rom.c (m32r_upload_command): Fix up ARI warnings for _
+ markup.
+
+2011-01-08 Michael Snyder <msnyder@vmware.com>
+
* h8300-tdep.c: Comment cleanup, mostly periods and spaces.
* hppa-hpux-tdep.c: Ditto.
* hppa-linux-nat.c: Ditto.
diff --git a/gdb/m32r-rom.c b/gdb/m32r-rom.c
index f5dc779..4756128 100644
--- a/gdb/m32r-rom.c
+++ b/gdb/m32r-rom.c
@@ -447,8 +447,8 @@ m32r_upload_command (char *args, int from_tty)
myIPaddress++;
if (!strncmp (myIPaddress, "0.0.", 4)) /* empty */
- error ("Please use 'set board-address' to "
- "set the M32R-EVA board's IP address.");
+ error (_("Please use 'set board-address' to "
+ "set the M32R-EVA board's IP address."));
if (strchr (myIPaddress, '('))
*(strchr (myIPaddress, '(')) = '\0'; /* delete trailing junk */
board_addr = xstrdup (myIPaddress);
@@ -479,8 +479,8 @@ m32r_upload_command (char *args, int from_tty)
}
}
if (server_addr == 0) /* failed? */
- error ("Need to know gdb host computer's "
- "IP address (use 'set server-address')");
+ error (_("Need to know gdb host computer's "
+ "IP address (use 'set server-address')"));
}
if (args == 0 || args[0] == 0) /* No args: upload the current
@@ -492,8 +492,8 @@ m32r_upload_command (char *args, int from_tty)
if (current_directory)
download_path = xstrdup (current_directory);
else
- error ("Need to know default download "
- "path (use 'set download-path')");
+ error (_("Need to know default download "
+ "path (use 'set download-path')"));
}
gettimeofday (&start_time, NULL);
@@ -514,9 +514,9 @@ m32r_upload_command (char *args, int from_tty)
resp_len = monitor_expect_prompt (buf, sizeof (buf)); /* parse result? */
if (buf[0] == 0 || strstr (buf, "complete") == 0)
- error ("Upload file not found: %s.srec\n"
- "Check IP addresses and download path.",
- args);
+ error (_("Upload file not found: %s.srec\n"
+ "Check IP addresses and download path."),
+ args);
else
printf_filtered (" -- Ethernet load complete.\n");