aboutsummaryrefslogtreecommitdiff
path: root/gdb/c-valprint.c
diff options
context:
space:
mode:
authorBaurzhan Ismagulov <ibr@radix50.net>2005-01-29 17:53:26 +0000
committerBaurzhan Ismagulov <ibr@radix50.net>2005-01-29 17:53:26 +0000
commit3d263c1d0a2f82fcf209a00e029b32ac8cf8f838 (patch)
tree4c8fcfbe635f21cba7c4165e70b9352247ec08a8 /gdb/c-valprint.c
parenta80493b821dfa3fee047adfb9250c41b4a2e211a (diff)
downloadgdb-3d263c1d0a2f82fcf209a00e029b32ac8cf8f838.zip
gdb-3d263c1d0a2f82fcf209a00e029b32ac8cf8f838.tar.gz
gdb-3d263c1d0a2f82fcf209a00e029b32ac8cf8f838.tar.bz2
2005-01-29 Baurzhan Ismagulov <ibr@radix50.net>
* ax-gdb.c, ax-general.c, bcache.c, bfd-target.c, bsd-kvm.c, * buildsym.c, c-lang.c, c-typeprint.c, c-valprint.c, charset.c, * coff-pe-read.c, coffread.c, complaints.c, copying.c: I18n markup.
Diffstat (limited to 'gdb/c-valprint.c')
-rw-r--r--gdb/c-valprint.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/c-valprint.c b/gdb/c-valprint.c
index 0871bce..4365dcf 100644
--- a/gdb/c-valprint.c
+++ b/gdb/c-valprint.c
@@ -125,7 +125,7 @@ c_val_print (struct type *type, const bfd_byte *valaddr, int embedded_offset,
if (cp_is_vtbl_ptr_type (elttype))
{
i = 1;
- fprintf_filtered (stream, "%d vtable entries", len - 1);
+ fprintf_filtered (stream, _("%d vtable entries"), len - 1);
}
else
{
@@ -251,7 +251,7 @@ c_val_print (struct type *type, const bfd_byte *valaddr, int embedded_offset,
break;
case TYPE_CODE_MEMBER:
- error ("not implemented: member type in c_val_print");
+ error (_("not implemented: member type in c_val_print"));
break;
case TYPE_CODE_REF:
@@ -455,14 +455,14 @@ c_val_print (struct type *type, const bfd_byte *valaddr, int embedded_offset,
break;
case TYPE_CODE_ERROR:
- fprintf_filtered (stream, "<error type>");
+ fprintf_filtered (stream, _("<error type>"));
break;
case TYPE_CODE_UNDEF:
/* This happens (without TYPE_FLAG_STUB set) on systems which don't use
dbx xrefs (NO_DBX_XREFS in gcc) if a file has a "struct foo *bar"
and no complete type for struct foo in that file. */
- fprintf_filtered (stream, "<incomplete type>");
+ fprintf_filtered (stream, _("<incomplete type>"));
break;
case TYPE_CODE_COMPLEX:
@@ -488,7 +488,7 @@ c_val_print (struct type *type, const bfd_byte *valaddr, int embedded_offset,
break;
default:
- error ("Invalid C/C++ type code %d in symbol table.", TYPE_CODE (type));
+ error (_("Invalid C/C++ type code %d in symbol table."), TYPE_CODE (type));
}
gdb_flush (stream);
return (0);
@@ -576,7 +576,7 @@ c_value_print (struct value *val, struct ui_file *stream, int format,
val = value_full_object (val, real_type, full, top, using_enc);
fprintf_filtered (stream, "(%s%s) ",
TYPE_NAME (real_type),
- full ? "" : " [incomplete object]");
+ full ? "" : _(" [incomplete object]"));
/* Print out object: enclosing type is same as real_type if full */
return val_print (VALUE_ENCLOSING_TYPE (val), VALUE_CONTENTS_ALL (val), 0,
VALUE_ADDRESS (val), stream, format, 1, 0, pretty);