aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
authorDoug Evans <xdje42@gmail.com>2013-11-23 14:36:57 -0800
committerDoug Evans <xdje42@gmail.com>2013-11-23 14:36:57 -0800
commit1e1d69201b94881374202709f1801d1126fc7ef7 (patch)
tree8fc20c26cdfb58bb55d8c828cec1ed2e065cb483 /gdb/python
parent1e9c71b81b1cc28aea5b8cceeeac5435d37b752a (diff)
downloadgdb-1e1d69201b94881374202709f1801d1126fc7ef7.zip
gdb-1e1d69201b94881374202709f1801d1126fc7ef7.tar.gz
gdb-1e1d69201b94881374202709f1801d1126fc7ef7.tar.bz2
* python/py-frame.c (frapy_block): Fix error message text.
Diffstat (limited to 'gdb/python')
-rw-r--r--gdb/python/py-frame.c2
1 files changed, 1 insertions, 1 deletions
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;
}