From 1e1d69201b94881374202709f1801d1126fc7ef7 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Sat, 23 Nov 2013 14:36:57 -0800 Subject: [PATCH] * python/py-frame.c (frapy_block): Fix error message text. --- gdb/ChangeLog | 4 ++++ gdb/python/py-frame.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index db947eaccf6..dcca6ebcb86 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2013-11-23 Doug Evans + + * python/py-frame.c (frapy_block): Fix error message text. + 2013-11-23 Doug Evans * cli/cli-script.c (multi_line_command_p): New function. diff --git a/gdb/python/py-frame.c b/gdb/python/py-frame.c index 58cb8a0c5c3..bff3ea42c69 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; } -- 2.30.2