diff options
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/python/py-frame.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index db947ea..dcca6eb 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2013-11-23 Doug Evans <xdje42@gmail.com> + * python/py-frame.c (frapy_block): Fix error message text. + +2013-11-23 Doug Evans <xdje42@gmail.com> + * cli/cli-script.c (multi_line_command_p): New function. (recurse_read_control_structure, read_command_lines_1): Call it. (execute_control_command): Consistently have a blank line between diff --git a/gdb/python/py-frame.c b/gdb/python/py-frame.c index 58cb8a0..bff3ea4 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; } |