From: Doug Evans Date: Sat, 23 Nov 2013 22:36:57 +0000 (-0800) Subject: * python/py-frame.c (frapy_block): Fix error message text. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1e1d69201b94881374202709f1801d1126fc7ef7;p=binutils-gdb.git * python/py-frame.c (frapy_block): Fix error message text. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index db947eaccf6..dcca6ebcb86 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2013-11-23 Doug Evans + + * python/py-frame.c (frapy_block): Fix error message text. + 2013-11-23 Doug Evans * cli/cli-script.c (multi_line_command_p): New function. diff --git a/gdb/python/py-frame.c b/gdb/python/py-frame.c index 58cb8a0c5c3..bff3ea42c69 100644 --- a/gdb/python/py-frame.c +++ b/gdb/python/py-frame.c @@ -260,7 +260,7 @@ frapy_block (PyObject *self, PyObject *args) if (block == NULL || fn_block == NULL || BLOCK_FUNCTION (fn_block) == NULL) { PyErr_SetString (PyExc_RuntimeError, - _("Cannot locate object file for block.")); + _("Cannot locate block for frame.")); return NULL; }