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]

[commit] valops.c (search_struct_field): Fix typo in error message.


Hi.

grepping for "optimized out" misses this one.
commited.

2010-06-27  Doug Evans  <dje@google.com>

	* valops.c (search_struct_field): Fix typo in error message.

Index: valops.c
===================================================================
RCS file: /cvs/src/src/gdb/valops.c,v
retrieving revision 1.246
diff -u -p -r1.246 valops.c
--- valops.c	11 Jun 2010 15:36:05 -0000	1.246
+++ valops.c	27 Jun 2010 16:23:35 -0000
@@ -1852,7 +1852,7 @@ search_struct_field (const char *name, s
 	      {
 		v = value_static_field (type, i);
 		if (v == 0)
-		  error (_("field %s is nonexistent or has been optimised out"),
+		  error (_("field %s is nonexistent or has been optimized out"),
 			 name);
 	      }
 	    else


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