aboutsummaryrefslogtreecommitdiff
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
parent1e9c71b81b1cc28aea5b8cceeeac5435d37b752a (diff)
downloadgdb-1e1d69201b94881374202709f1801d1126fc7ef7.zip
gdb-1e1d69201b94881374202709f1801d1126fc7ef7.tar.gz
gdb-1e1d69201b94881374202709f1801d1126fc7ef7.tar.bz2
* python/py-frame.c (frapy_block): Fix error message text.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/python/py-frame.c2
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;
}