2011-02-28 Michael Snyder <msnyder@vmware.com>
[deliverable/binutils-gdb.git] / gdb / c-lang.c
index 0c784f83591875a0550c5e8a536a1a3026483596..ad770bfca491135c3475265cc2105f5de4436e36 100644 (file)
@@ -1,7 +1,7 @@
 /* C language support routines for GDB, the GNU debugger.
 
    Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2002, 2003,
-   2004, 2005, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
+   2004, 2005, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -65,7 +65,7 @@ charset_for_string_type (enum c_string_type str_type,
       else
        return "UTF-32LE";
     }
-  internal_error (__FILE__, __LINE__, "unhandled c_string_type");
+  internal_error (__FILE__, __LINE__, _("unhandled c_string_type"));
 }
 
 /* Classify ELTTYPE according to what kind of character it is.  Return
@@ -1008,7 +1008,7 @@ evaluate_subexp_c (struct type *expect_type, struct expression *exp,
                                    "char32_t", NULL, 0);
            break;
          default:
-           internal_error (__FILE__, __LINE__, "unhandled c_string_type");
+           internal_error (__FILE__, __LINE__, _("unhandled c_string_type"));
          }
 
        /* Ensure TYPE_LENGTH is valid for TYPE.  */
@@ -1049,7 +1049,8 @@ evaluate_subexp_c (struct type *expect_type, struct expression *exp,
            LONGEST value;
 
            if (obstack_object_size (&output) != TYPE_LENGTH (type))
-             error (_("Could not convert character constant to target character set"));
+             error (_("Could not convert character "
+                      "constant to target character set"));
            value = unpack_long (type, obstack_base (&output));
            result = value_from_longest (type, value);
          }
This page took 0.023418 seconds and 4 git commands to generate.