* 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 db947eaccf6fdd8256b43be694dfa4f4510cdef7..dcca6ebcb86255738c8de173e4876c1b6559d35e 100644 (file)
@@ -1,3 +1,7 @@
+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.
index 58cb8a0c5c30f999ef17d8025d349a894bc54f58..bff3ea42c69d55e169be751dc7e97f10d9bc00be 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;
     }