public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [commit] python/py-frame.c (frapy_block): Fix error message text.
@ 2013-11-23 22:51 Doug Evans
  0 siblings, 0 replies; only message in thread
From: Doug Evans @ 2013-11-23 22:51 UTC (permalink / raw)
  To: gdb-patches

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;
     }
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-11-23 22:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-23 22:51 [commit] python/py-frame.c (frapy_block): Fix error message text Doug Evans

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).