This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 1/2] Append "." in error message.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]