Add the fullname_syntax testsuite variable. This allows GDB to make sure
[deliverable/binutils-gdb.git] / gdb / cris-tdep.c
index 15407cf50cedc8c2c75c805c65f74a59583e236c..23e1fd57fe7b3129c828ccd66376ca3d36f5eb5a 100644 (file)
@@ -283,7 +283,7 @@ cris_sigcontext_addr (struct frame_info *next_frame)
       return (sp + 156);
     }
 
-  error ("Couldn't recognize signal trampoline.");
+  error (_("Couldn't recognize signal trampoline."));
   return 0;
 }
 
@@ -934,7 +934,7 @@ cris_push_dummy_call (struct gdbarch *gdbarch, struct value *function,
       else if (len > (2 * 4))
         {
          /* FIXME */
-         internal_error (__FILE__, __LINE__, "We don't do this");
+         internal_error (__FILE__, __LINE__, _("We don't do this"));
         }
       else
         {
@@ -1607,7 +1607,7 @@ crisv32_register_type (struct gdbarch *gdbarch, int regno)
     {
       /* Invalid (unimplemented) register.  Should not happen as there are
         no unimplemented CRISv32 registers.  */
-      warning ("crisv32_register_type: unknown regno %d", regno);
+      warning (_("crisv32_register_type: unknown regno %d"), regno);
       return builtin_type_int0;
     }
 }
@@ -1639,7 +1639,7 @@ cris_store_return_value (struct type *type, struct regcache *regcache,
       regcache_cooked_write_unsigned (regcache, ARG2_REGNUM, val);
     }
   else
-    error ("cris_store_return_value: type length too large.");
+    error (_("cris_store_return_value: type length too large."));
 }
 
 /* Return the name of register regno as a string. Return NULL for an invalid or
@@ -1759,7 +1759,7 @@ cris_dwarf2_reg_to_regnum (int reg)
     regnum = cris_dwarf_regmap[reg];
 
   if (regnum == -1)
-    warning ("Unmapped DWARF Register #%d encountered\n", reg);
+    warning (_("Unmapped DWARF Register #%d encountered."), reg);
 
   return regnum;
 }
@@ -1807,7 +1807,7 @@ cris_extract_return_value (struct type *type, struct regcache *regcache,
       store_unsigned_integer ((char *)valbuf + 4, len - 4, val);
     }
   else
-    error ("cris_extract_return_value: type length too large");
+    error (_("cris_extract_return_value: type length too large"));
 }
 
 /* Handle the CRIS return value convention.  */
@@ -2055,7 +2055,7 @@ cris_software_single_step (enum target_signal ignore, int insert_breakpoints)
         {
           /* Could not find a target.  Things are likely to go downhill 
             from here.  */
-         warning ("CRIS software single step could not find a step target.");
+         warning (_("CRIS software single step could not find a step target."));
         }
       else
         {
@@ -3832,7 +3832,7 @@ fetch_core_registers (char *core_reg_sect, unsigned core_reg_size,
       if (core_reg_size != sizeof (elf_gregset_t) 
          && core_reg_size != sizeof (crisv32_elf_gregset_t))
         {
-          warning ("wrong size gregset struct in core file");
+          warning (_("wrong size gregset struct in core file"));
         }
       else
         {
@@ -3916,20 +3916,20 @@ _initialize_cris_tdep (void)
   /* CRIS-specific user-commands.  */
   add_setshow_uinteger_cmd ("cris-version", class_support, 
                            &usr_cmd_cris_version, 
-                           "Set the current CRIS version.",
-                           "Show the current CRIS version.",
-                           "Set if autodetection fails.",
-                           NULL, /* PRINT: Current CRIS version is %s.  */
-                           set_cris_version, NULL,
+                           _("Set the current CRIS version."),
+                           _("Show the current CRIS version."),
+                           _("Set if autodetection fails."),
+                           set_cris_version,
+                           NULL, /* FIXME: i18n: Current CRIS version is %s.  */
                            &setlist, &showlist);
   
   add_setshow_boolean_cmd ("cris-dwarf2-cfi", class_support,
                           &usr_cmd_cris_dwarf2_cfi,
-                          "Set the usage of Dwarf-2 CFI for CRIS.",
-                          "Show the usage of Dwarf-2 CFI for CRIS.",
-                          "Set to \"off\" if using gcc-cris < R59.",
-                          NULL, /* PRINT: Usage of Dwarf-2 CFI for CRIS is %d.  */
-                          set_cris_dwarf2_cfi, NULL,
+                          _("Set the usage of Dwarf-2 CFI for CRIS."),
+                          _("Show the usage of Dwarf-2 CFI for CRIS."),
+                          _("Set to \"off\" if using gcc-cris < R59."),
+                          set_cris_dwarf2_cfi,
+                          NULL, /* FIXME: i18n: Usage of Dwarf-2 CFI for CRIS is %d.  */
                           &setlist, &showlist);
 
   deprecated_add_core_fns (&cris_elf_core_fns);
@@ -3962,7 +3962,7 @@ set_cris_version (char *ignore_args, int from_tty,
   gdbarch_info_init (&info);
   if (!gdbarch_update_p (info))
     internal_error (__FILE__, __LINE__, 
-                   "cris_gdbarch_update: failed to update architecture.");
+                   _("cris_gdbarch_update: failed to update architecture."));
 }
 
 static void
@@ -3975,7 +3975,7 @@ set_cris_dwarf2_cfi (char *ignore_args, int from_tty,
   gdbarch_info_init (&info);
   if (!gdbarch_update_p (info))
     internal_error (__FILE__, __LINE__, 
-                   "cris_gdbarch_update: failed to update architecture.");
+                   _("cris_gdbarch_update: failed to update architecture."));
 }
 
 static struct gdbarch *
@@ -4031,11 +4031,11 @@ cris_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
       break;
 
     case BFD_ENDIAN_BIG:
-      internal_error (__FILE__, __LINE__, "cris_gdbarch_init: big endian byte order in info");
+      internal_error (__FILE__, __LINE__, _("cris_gdbarch_init: big endian byte order in info"));
       break;
     
     default:
-      internal_error (__FILE__, __LINE__, "cris_gdbarch_init: unknown byte order in info");
+      internal_error (__FILE__, __LINE__, _("cris_gdbarch_init: unknown byte order in info"));
     }
 
   set_gdbarch_return_value (gdbarch, cris_return_value);
@@ -4068,7 +4068,7 @@ cris_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
     case 9:
       /* Old versions; not supported.  */
       internal_error (__FILE__, __LINE__, 
-                     "cris_gdbarch_init: unsupported CRIS version");
+                     _("cris_gdbarch_init: unsupported CRIS version"));
       break;
 
     case 10:
@@ -4110,7 +4110,7 @@ cris_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
 
     default:
       internal_error (__FILE__, __LINE__, 
-                     "cris_gdbarch_init: unknown CRIS version");
+                     _("cris_gdbarch_init: unknown CRIS version"));
     }
 
   /* Dummy frame functions (shared between CRISv10 and CRISv32 since they
This page took 0.085751 seconds and 4 git commands to generate.