]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2008-10-06 Michael Snyder <msnyder@vmware.com>
authorMichael Snyder <msnyder@vmware.com>
Mon, 6 Oct 2008 23:20:46 +0000 (23:20 +0000)
committerMichael Snyder <msnyder@vmware.com>
Mon, 6 Oct 2008 23:20:46 +0000 (23:20 +0000)
* remote.c (remote_get_exec_direction): Use i18n macros.
(remote_set_exec_direction): Ditto.

gdb/ChangeLog
gdb/remote.c

index c084f2ae87c46a8a2fb6439cb0b911371b00cd39..29f12b72a35e6e27716db9be80477c353d560608 100644 (file)
@@ -1,5 +1,7 @@
 2008-10-06  Michael Snyder  <msnyder@vmware.com>
 
+       * remote.c (remote_get_exec_direction): Use i18n macros.
+       (remote_set_exec_direction): Ditto.
        * infrun.c (handle_inferior_event, step_into_function): Formatting.
        * infrun.c (handle_inferior_event): Formatting, spelling fix.
 
index f5434a3a2b3cc7185c072fcf570856822496f94b..4f50856b9c999af7f4a25ee7e4c8de2c138a631f 100644 (file)
@@ -7135,13 +7135,14 @@ remote_command (char *args, int from_tty)
    FIXME: set up as a capability.  */
 static enum exec_direction_kind remote_exec_direction = EXEC_FORWARD;
 
-static enum exec_direction_kind remote_get_exec_direction (void)
+static enum exec_direction_kind 
+remote_get_exec_direction (void)
 {
   if (remote_debug && info_verbose)
     printf_filtered ("remote exec_direction is %s\n",
-                    remote_exec_direction == EXEC_FORWARD ? "forward" :
-                    remote_exec_direction == EXEC_REVERSE ? "reverse" :
-                    "unknown");
+                    remote_exec_direction == EXEC_FORWARD ? _("forward") :
+                    remote_exec_direction == EXEC_REVERSE ? _("reverse") :
+                    _("unknown"));
   return remote_exec_direction;
 }
 
@@ -7149,9 +7150,9 @@ static int remote_set_exec_direction (enum exec_direction_kind dir)
 {
   if (remote_debug && info_verbose)
     printf_filtered ("Set remote exec_direction: %s\n",
-                    dir == EXEC_FORWARD ? "forward" :
-                    dir == EXEC_REVERSE ? "reverse" :
-                    "bad direction");
+                    dir == EXEC_FORWARD ? _("forward") :
+                    dir == EXEC_REVERSE ? _("reverse") :
+                    _("bad direction"));
 
   /* FIXME: check target for capability.  */
   if (dir == EXEC_FORWARD || dir == EXEC_REVERSE)