mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-22 17:57:45 +08:00
2010-04-14 Phil Muldoon <pmuldoon@redhat.com>
* python/py-block.c (gdbpy_block_for_pc): Use i8n to encompass error/warning messages. Capitalize and use complete sentences. (blpy_block_syms_iternext): Likewise. * python/py-cmd.c (parse_command_name, cmdpy_init): Likewise. * python/py-frame.c (FRAPY_REQUIRE_VALID, frapy_block) (frame_info_to_frame_object, frapy_read_var) (gdbpy_frame_stop_reason_string): Likewise. * python/py-lazy-string.c (stpy_convert_to_value) (gdbpy_create_lazy_string_object): Likewise. * python/py-objfile.c (objfpy_set_printers): Likewise. * python/py-prettyprint.c (gdbpy_default_visualizer): Likewise. * python/python.c (parameter_to_python): Likewise. * python/py-type.c (typy_range, typy_target): Likewise. * python/py-value.c (valpy_cast, valpy_length, valpy_getitem) (valpy_richcompare, valpy_int, valpy_long, valpy_float): Likewise.
This commit is contained in:
@ -248,7 +248,7 @@ blpy_block_syms_iternext (PyObject *self)
|
||||
|
||||
if (sym == NULL)
|
||||
{
|
||||
PyErr_SetString (PyExc_StopIteration, "Symbol is null.");
|
||||
PyErr_SetString (PyExc_StopIteration, _("Symbol is null."));
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@ -281,7 +281,7 @@ gdbpy_block_for_pc (PyObject *self, PyObject *args)
|
||||
if (!symtab || symtab->objfile == NULL)
|
||||
{
|
||||
PyErr_SetString (PyExc_RuntimeError,
|
||||
"Cannot locate object file for block.");
|
||||
_("Cannot locate object file for block."));
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user