This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] python/py-frame.c (frapy_block): Fix error message text.
- From: Doug Evans <xdje42 at gmail dot com>
- To: gdb-patches at sourceware dot org
- Date: Sat, 23 Nov 2013 14:40:16 -0800
- Subject: [commit] python/py-frame.c (frapy_block): Fix error message text.
- Authentication-results: sourceware.org; auth=none
Hi.
I happened to notice this.
Committed.
2013-11-23 Doug Evans <xdje42@gmail.com>
* python/py-frame.c (frapy_block): Fix error message text.
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;
}