aboutsummaryrefslogtreecommitdiff
path: root/gdb/language.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/language.c')
-rw-r--r--gdb/language.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/language.c b/gdb/language.c
index e10ac60..6482823 100644
--- a/gdb/language.c
+++ b/gdb/language.c
@@ -565,7 +565,7 @@ binop_result_type (struct value *v1, struct value *v2)
return l1 > l2 ? VALUE_TYPE (v1) : VALUE_TYPE (v2);
break;
}
- internal_error (__FILE__, __LINE__, "failed internal consistency check");
+ internal_error (__FILE__, __LINE__, _("failed internal consistency check"));
return (struct type *) 0; /* For lint */
}
@@ -884,7 +884,7 @@ type_error (const char *string,...)
fprintf_filtered (gdb_stderr, "\n");
break;
default:
- internal_error (__FILE__, __LINE__, "bad switch");
+ internal_error (__FILE__, __LINE__, _("bad switch"));
}
va_end (args);
}
@@ -910,7 +910,7 @@ range_error (const char *string,...)
fprintf_filtered (gdb_stderr, "\n");
break;
default:
- internal_error (__FILE__, __LINE__, "bad switch");
+ internal_error (__FILE__, __LINE__, _("bad switch"));
}
va_end (args);
}
@@ -988,7 +988,7 @@ add_language (const struct language_defn *lang)
{
fprintf_unfiltered (gdb_stderr, "Magic number of %s language struct wrong\n",
lang->la_name);
- internal_error (__FILE__, __LINE__, "failed internal consistency check");
+ internal_error (__FILE__, __LINE__, _("failed internal consistency check"));
}
if (!languages)