* python/py-frame.c (frapy_block): Fix error message text.
authorDoug Evans <xdje42@gmail.com>
Sat, 23 Nov 2013 22:36:57 +0000 (14:36 -0800)
committerDoug Evans <xdje42@gmail.com>
Sat, 23 Nov 2013 22:36:57 +0000 (14:36 -0800)
gdb/ChangeLog
gdb/python/py-frame.c

index db947ea..dcca6eb 100644 (file)
@@ -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
index 58cb8a0..bff3ea4 100644 (file)
@@ -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;
     }