* common/signals.c (target_signal_from_host): Add _ markup to error
[deliverable/binutils-gdb.git] / gdb / common / signals.c
index 3c7ffe4d533118e1ea5e4dd7e6d20396418c3182..55f708493d88016001302fb04fd8d6a42ffa8a81 100644 (file)
@@ -349,8 +349,8 @@ target_signal_from_host (int hostsig)
        return (enum target_signal)
          (hostsig - 64 + (int) TARGET_SIGNAL_REALTIME_64);
       else
-       error ("GDB bug: target.c (target_signal_from_host): "
-              "unrecognized real-time signal");
+       error (_("GDB bug: target.c (target_signal_from_host): "
+              "unrecognized real-time signal"));
     }
 #endif
 
@@ -644,7 +644,7 @@ target_signal_to_host (enum target_signal oursig)
     {
       /* The user might be trying to do "signal SIGSAK" where this system
          doesn't have SIGSAK.  */
-      warning ("Signal %s does not exist on this system.\n",
+      warning (_("Signal %s does not exist on this system."),
               target_signal_to_name (oursig));
       return 0;
     }
@@ -667,8 +667,8 @@ target_signal_from_command (int num)
 {
   if (num >= 1 && num <= 15)
     return (enum target_signal) num;
-  error ("Only signals 1-15 are valid as numeric signals.\n\
-Use \"info signals\" for a list of symbolic signals.");
+  error (_("Only signals 1-15 are valid as numeric signals.\n\
+Use \"info signals\" for a list of symbolic signals."));
 }
 
 extern initialize_file_ftype _initialize_signals; /* -Wmissing-prototype */
This page took 0.026262 seconds and 4 git commands to generate.