This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 1/2] Append "." in error message.
- From: Yao Qi <yao at codesourcery dot com>
- To: <gdb-patches at sourceware dot org>
- Date: Thu, 23 Aug 2012 17:49:48 +0800
- Subject: [PATCH 1/2] Append "." in error message.
- References: <877gt1zbr5.fsf@fleche.redhat.com>
This patch is to add "." at the end of message "No symbol XXX in
current context", and fix a FAIL in testsuite.
-FAIL: gdb.java/jnpe.exp: check for unwinder hook
+PASS: gdb.java/jnpe.exp: check for unwinder hook
+PASS: gdb.java/jnpe.exp: check for stap probe in unwinder
It is obvious. I'll check it in.
gdb:
2012-08-23 Yao Qi <yao@codesourcery.com>
* jv-exp.y (push_expression_name): Add "." at the end of error
message.
---
gdb/jv-exp.y | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/gdb/jv-exp.y b/gdb/jv-exp.y
index ee17654..d0fca67 100644
--- a/gdb/jv-exp.y
+++ b/gdb/jv-exp.y
@@ -1399,7 +1399,7 @@ push_expression_name (struct stoken name)
else if (!have_full_symbols () && !have_partial_symbols ())
error (_("No symbol table is loaded. Use the \"file\" command"));
else
- error (_("No symbol \"%s\" in current context"), tmp);
+ error (_("No symbol \"%s\" in current context."), tmp);
}
}
--
1.7.7.6